diff options
author | Benjamin Barenblat <bbaren@google.com> | 2022-08-22 17:30:49 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2022-08-22 22:14:43 -0400 |
commit | 9b799d6f69653b49151412e1bacd44aa7923649d (patch) | |
tree | 0b970568d9fe1681c9c85cec3507d9a7e5ccad14 | |
parent | ff6a2decd403ad5ebcbb42faafe1519080fd4a9d (diff) |
Set ABSL_BUILD_TESTING
Since upstream commit fb7dd24b18e82893e5922be5d1c8ae0f3fe3c9fa, Abseil
requires both BUILD_TESTING=ON and ABSL_BUILD_TESTING=ON to build unit
tests.
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 0584fd92..86492154 100755 --- a/debian/rules +++ b/debian/rules @@ -36,7 +36,7 @@ override_dh_auto_clean: override_dh_auto_configure: dh_auto_configure -Bstatic -- -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=OFF ifeq ($(ABSL_RUN_TESTS),ON) - dh_auto_configure -Bshared -- -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DABSL_USE_GOOGLETEST_HEAD=OFF + dh_auto_configure -Bshared -- -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DABSL_BUILD_TESTING=ON -DABSL_USE_GOOGLETEST_HEAD=OFF else dh_auto_configure -Bshared -- -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=ON endif |