diff options
| author | 2022-10-14 06:01:16 -0400 | |
|---|---|---|
| committer | 2022-10-14 06:01:16 -0400 | |
| commit | 517363f51610ffeeed2df816a6d854ebf56d2dc1 (patch) | |
| tree | 0c28225b37e37f1200551f489a5b959df75e1fe6 /debian/patches/allow_gtest_exclusion.patch | |
| parent | 53e82093ae38ef858088fd14a7a1d1faf2d3714e (diff) | |
Allow exclusion of gtest if not building tests.debian/2.4.0+dfsg-3
Closes: #1020987
Diffstat (limited to 'debian/patches/allow_gtest_exclusion.patch')
| -rw-r--r-- | debian/patches/allow_gtest_exclusion.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/allow_gtest_exclusion.patch b/debian/patches/allow_gtest_exclusion.patch new file mode 100644 index 0000000..d1263d3 --- /dev/null +++ b/debian/patches/allow_gtest_exclusion.patch @@ -0,0 +1,22 @@ +Description: Allow exclusion of gtest if not building tests. +Author: Unit 193 <unit193@debian.org> +Bug-Debian: https://bugs.debian.org/1020987 +Forwarded: no + +--- + src/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/CMakeLists.txt 2022-09-30 00:56:08.000000000 -0400 ++++ b/src/CMakeLists.txt 2022-09-30 00:56:08.000000000 -0400 +@@ -20,9 +20,9 @@ + add_subdirectory(lib) + add_subdirectory(cmd) + +-include(../cmake/gtest.cmake) + + if (BARRIER_BUILD_TESTS) ++ include(../cmake/gtest.cmake) + add_subdirectory(test/integtests) + add_subdirectory(test/unittests) + endif() |
