summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-07-11 16:29:26 +0800
committerErik Kundiman <erik@megapahit.org>2023-07-19 10:48:02 +0800
commita763de1cfa21a184e0c941c5a3618125af366939 (patch)
treeaffd549a66a61b8e913abbbd05ba15531624726c
parentc718c518f86e3bd78bd71bbd07fbc626373bbe96 (diff)
No GoogleMock, AddBuildTest & Tut when no LL_TESTS
-rw-r--r--indra/llcorehttp/CMakeLists.txt6
-rw-r--r--indra/llimage/CMakeLists.txt4
-rw-r--r--indra/llmessage/CMakeLists.txt6
3 files changed, 16 insertions, 0 deletions
diff --git a/indra/llcorehttp/CMakeLists.txt b/indra/llcorehttp/CMakeLists.txt
index 87796abd3c..4fda964eb6 100644
--- a/indra/llcorehttp/CMakeLists.txt
+++ b/indra/llcorehttp/CMakeLists.txt
@@ -3,15 +3,21 @@
project(llcorehttp)
include(00-Common)
+if (LL_TESTS)
include(GoogleMock)
+endif ()
include(CURL)
include(OpenSSL)
include(NGHTTP2)
include(ZLIBNG)
include(LLCoreHttp)
+if (LL_TESTS)
include(LLAddBuildTest)
+endif ()
include(LLCommon)
+if (LL_TESTS)
include(Tut)
+endif ()
include(bugsplat)
set(llcorehttp_SOURCE_FILES
diff --git a/indra/llimage/CMakeLists.txt b/indra/llimage/CMakeLists.txt
index cc75c463bc..79f9565ed9 100644
--- a/indra/llimage/CMakeLists.txt
+++ b/indra/llimage/CMakeLists.txt
@@ -8,9 +8,13 @@ include(LLImage)
include(JPEG)
include(LLKDU)
include(ZLIBNG)
+if (LL_TESTS)
include(LLAddBuildTest)
+endif ()
include(bugsplat)
+if (LL_TESTS)
include(Tut)
+endif ()
set(llimage_SOURCE_FILES
llimagebmp.cpp
diff --git a/indra/llmessage/CMakeLists.txt b/indra/llmessage/CMakeLists.txt
index 4786956e85..2fef3cf15b 100644
--- a/indra/llmessage/CMakeLists.txt
+++ b/indra/llmessage/CMakeLists.txt
@@ -3,13 +3,19 @@
project(llmessage)
include(00-Common)
+if (LL_TESTS)
include(GoogleMock)
include(LLAddBuildTest)
+endif ()
include(LLCommon)
include(LLCoreHttp)
+if (LL_TESTS)
include(LLAddBuildTest)
+endif ()
include(Python)
+if (LL_TESTS)
include(Tut)
+endif ()
include(Python)
include(JsonCpp)