projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24c7de3
)
tests: Build core tests only if core is actually being built
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 1 Jan 2022 15:50:27 +0000
(16:50 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 1 Jan 2022 17:11:21 +0000
(18:11 +0100)
Building of the core-specific unit tests must be conditional on the
core actually being built.
tests/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/tests/CMakeLists.txt
b/tests/CMakeLists.txt
index
a1916ca
..
dfb8802
100644
(file)
--- a/
tests/CMakeLists.txt
+++ b/
tests/CMakeLists.txt
@@
-1,2
+1,4
@@
add_subdirectory(common)
-add_subdirectory(core)
+if (BUILD_CORE)
+ add_subdirectory(core)
+endif()