Tests enabled by default with cmake on win32

People who don't have Perl will have to disable them manually.
That way they have an occasion to notice and install Perl.
This commit is contained in:
Manuel Pégourié-Gonnard 2015-07-08 21:36:43 +01:00
parent 85113848bd
commit 4d2ef297cb

View File

@ -45,14 +45,7 @@ option(USE_PKCS11_HELPER_LIBRARY "Build mbed TLS with the pkcs11-helper library.
option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF)
option(ENABLE_PROGRAMS "Build mbed TLS programs." ON)
# Tests need Perl. Ideally we would use CMake's FindPerl module,
# but it is only available since CMake 3.0 (released June 2014).
# Assume Perl is available on Unix, and allow user to override.
if(UNIX)
option(ENABLE_TESTING "Build mbed TLS tests." ON)
else()
option(ENABLE_TESTING "Build mbed TLS tests." OFF)
endif()
option(ENABLE_TESTING "Build mbed TLS tests." ON)
if(LIB_INSTALL_DIR)
else()