diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-06-29 10:29:02 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-06-29 10:31:53 +0200 |
commit | 84ac7d1de0d5b0065ccea664b0d579c2b14d2f17 (patch) | |
tree | 7ace83561ae25497b80f275820ab0315097f5414 /DefineOptions.cmake | |
parent | f4ddf9df5338d15ec4ec21f4062f73e6caf12b7d (diff) | |
download | libssh-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 'DefineOptions.cmake')
-rw-r--r-- | DefineOptions.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake index 6eda2c23..4f8bdafc 100644 --- a/DefineOptions.cmake +++ b/DefineOptions.cmake @@ -11,7 +11,7 @@ option(WITH_GCRYPT "Compile against libgcrypt" OFF) option(WITH_MBEDTLS "Compile against libmbedtls" OFF) option(WITH_PCAP "Compile with Pcap generation support" ON) option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF) -option(WITH_TESTING "Build with unit tests" OFF) +option(UNIT_TESTING "Build with unit tests" OFF) option(WITH_CLIENT_TESTING "Build with client tests; requires a running sshd" OFF) option(WITH_BENCHMARKS "Build benchmarks tools" OFF) option(WITH_EXAMPLES "Build examples" ON) @@ -24,12 +24,12 @@ else (WITH_ZLIB) endif (WITH_ZLIB) if(WITH_BENCHMARKS) - set(WITH_TESTING ON) + set(UNIT_TESTING ON) endif(WITH_BENCHMARKS) -if (WITH_TESTING) +if (UNIT_TESTING) set(WITH_STATIC_LIB ON) -endif (WITH_TESTING) +endif (UNIT_TESTING) if (WITH_NACL) set(WITH_NACL ON) |