1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-01 11:26:52 +03:00

cmake: Rename WITH_TESTING option to UNIT_TESTING

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-06-29 10:29:02 +02:00
parent f4ddf9df53
commit 84ac7d1de0
6 changed files with 25 additions and 25 deletions

View File

@ -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)