From 4d2ef297cb4a8b0ce68740f3a49961380fcab61c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Wed, 8 Jul 2015 21:36:43 +0100 Subject: [PATCH] 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. --- CMakeLists.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87cd2ad88..c0d03f6c7 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()