From: Manuel Nickschas Date: Sat, 1 Jan 2022 15:50:27 +0000 (+0100) Subject: tests: Build core tests only if core is actually being built X-Git-Tag: 0.14.0~2 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=fdaaad34389d7c27b4d12711848300061cc8c395 tests: Build core tests only if core is actually being built Building of the core-specific unit tests must be conditional on the core actually being built. --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a1916ca4..dfb8802a 100644 --- 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()