aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2015-07-08 21:36:43 +0100
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2015-07-08 21:36:43 +0100
commit4d2ef297cb4a8b0ce68740f3a49961380fcab61c (patch)
tree40168a2d48ee16f4a22a9400ee2899e36fbc820f /CMakeLists.txt
parent85113848bd043e637c84125e3ea973b5e19dbba1 (diff)
downloadmbedtls-4d2ef297cb4a8b0ce68740f3a49961380fcab61c.zip
mbedtls-4d2ef297cb4a8b0ce68740f3a49961380fcab61c.tar.gz
mbedtls-4d2ef297cb4a8b0ce68740f3a49961380fcab61c.tar.bz2
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.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 87cd2ad..c0d03f6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()