aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-06-29 10:29:02 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-29 10:31:53 +0200
commit84ac7d1de0d5b0065ccea664b0d579c2b14d2f17 (patch)
tree7ace83561ae25497b80f275820ab0315097f5414 /CMakeLists.txt
parentf4ddf9df5338d15ec4ec21f4062f73e6caf12b7d (diff)
downloadlibssh-84ac7d1de0d5b0065ccea664b0d579c2b14d2f17.tar.gz
libssh-84ac7d1de0d5b0065ccea664b0d579c2b14d2f17.tar.xz
libssh-84ac7d1de0d5b0065ccea664b0d579c2b14d2f17.zip
cmake: Rename WITH_TESTING option to UNIT_TESTING
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2904ffbe..9b9072a4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -146,11 +146,11 @@ if (WITH_EXAMPLES)
add_subdirectory(examples)
endif (WITH_EXAMPLES)
-if (WITH_TESTING)
+if (UNIT_TESTING)
find_package(CMocka REQUIRED)
include(AddCMockaTest)
add_subdirectory(tests)
-endif (WITH_TESTING)
+endif (UNIT_TESTING)
message(STATUS "********************************************")
@@ -166,7 +166,7 @@ message(STATUS "Server support : ${WITH_SERVER}")
message(STATUS "GSSAPI support : ${WITH_GSSAPI}")
message(STATUS "Pcap debugging support : ${WITH_PCAP}")
message(STATUS "With static library: ${WITH_STATIC_LIB}")
-message(STATUS "Unit testing: ${WITH_TESTING}")
+message(STATUS "Unit testing: ${UNIT_TESTING}")
message(STATUS "Client code Unit testing: ${WITH_CLIENT_TESTING}")
if (WITH_INTERNAL_DOC)
message(STATUS "Internal documentation generation")