mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 05:05:49 +01:00
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:
parent
85113848bd
commit
4d2ef297cb
@ -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_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF)
|
||||||
option(ENABLE_PROGRAMS "Build mbed TLS programs." ON)
|
option(ENABLE_PROGRAMS "Build mbed TLS programs." ON)
|
||||||
|
|
||||||
# Tests need Perl. Ideally we would use CMake's FindPerl module,
|
option(ENABLE_TESTING "Build mbed TLS tests." ON)
|
||||||
# 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()
|
|
||||||
|
|
||||||
if(LIB_INSTALL_DIR)
|
if(LIB_INSTALL_DIR)
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user