From 9b799d6f69653b49151412e1bacd44aa7923649d Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 22 Aug 2022 17:30:49 -0400 Subject: Set ABSL_BUILD_TESTING Since upstream commit fb7dd24b18e82893e5922be5d1c8ae0f3fe3c9fa, Abseil requires both BUILD_TESTING=ON and ABSL_BUILD_TESTING=ON to build unit tests. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') 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 -- cgit v1.2.3