blob: d1263d3aa9f370d520c192cbe34d58c098780fcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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()
|