diff options
author | AJ Keresztes <aj@keresztes.us> | 2024-05-15 15:08:37 +0000 |
---|---|---|
committer | AJ Keresztes <aj@keresztes.us> | 2024-05-15 15:08:37 +0000 |
commit | 354c8402d3fcd830c1f2671aeaa0436963432efb (patch) | |
tree | dc1c9b78c75927cc83602a63f0e17916def434de /configure | |
parent | 66aa8daa855727ec925c3cbebba62b92fde4b204 (diff) | |
parent | aaaf2321b8a0e47c46f8ba8a2090c423f5947cf9 (diff) | |
download | tmwa-354c8402d3fcd830c1f2671aeaa0436963432efb.tar.gz tmwa-354c8402d3fcd830c1f2671aeaa0436963432efb.tar.bz2 tmwa-354c8402d3fcd830c1f2671aeaa0436963432efb.tar.xz tmwa-354c8402d3fcd830c1f2671aeaa0436963432efb.zip |
Merge branch tmwa:master into master
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -84,7 +84,13 @@ class Configuration(Cxx, Install, ConfigHash, Templates): def vars(self): super(Configuration, self).vars() - self.add_option('GTEST_DIR', init='/usr/src/gtest', + # Why submodule gtest? + # 1) make test requires gtest-all.cc. This file is shipped by Ubuntu, + # but not by Gentoo; + # 2) Modern distros ship gtest-1.13+. It requires C++14+, while + # TMWA is currently a C++0x codebase. + self.add_option('GTEST_DIR', + init=os.path.join(os.getcwd(), 'deps/googletest/googletest'), # http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog type=filepath, check=lambda build, GTEST_DIR: None, help='Location of Google Test sources, must contain src/gtest-all.cc (linking to a precompiled library is NOT supported)', hidden=False) |