From a5018c9b817c0b1da9d745ac74286eef07ae448e Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Sun, 8 Jul 2018 23:16:08 -0500 Subject: [PATCH] Exclude jsoncpp default CMake targets. Removes the lib and include directories from the DFHack package. Removes the status message that lists the jsoncpp version number. --- depends/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depends/CMakeLists.txt b/depends/CMakeLists.txt index a096e7b0f..e067b3a6a 100644 --- a/depends/CMakeLists.txt +++ b/depends/CMakeLists.txt @@ -11,7 +11,7 @@ endif() add_subdirectory(tthread) OPTION(JSONCPP_WITH_TESTS "Compile and (for jsoncpp_check) run JsonCpp test executables" OFF) OPTION(JSONCPP_WITH_POST_BUILD_UNITTEST "Automatically run unit-tests as a post build step" OFF) -add_subdirectory(jsoncpp-sub) +add_subdirectory(jsoncpp-sub EXCLUDE_FROM_ALL) # build clsocket static and only as a dependency. Setting those options here overrides its own default settings. OPTION(CLSOCKET_SHARED "Build clsocket lib as shared." OFF) OPTION(CLSOCKET_DEP_ONLY "Build for use inside other CMake projects as dependency." ON)