diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dfb3d53..959edb7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -27,12 +27,18 @@ string(STRIP ${TLS_VERSION} TLS_VERSION) | |||
27 | string(REPLACE ":" "." TLS_VERSION ${TLS_VERSION}) | 27 | string(REPLACE ":" "." TLS_VERSION ${TLS_VERSION}) |
28 | string(REGEX REPLACE "\\..*" "" TLS_MAJOR_VERSION ${TLS_VERSION}) | 28 | string(REGEX REPLACE "\\..*" "" TLS_MAJOR_VERSION ${TLS_VERSION}) |
29 | 29 | ||
30 | option(LIBRESSL_SKIP_INSTALL "Skip installation" ${LIBRESSL_SKIP_INSTALL}) | ||
30 | option(ENABLE_ASM "Enable assembly" ON) | 31 | option(ENABLE_ASM "Enable assembly" ON) |
31 | option(ENABLE_EXTRATESTS "Enable extra tests that may be unreliable on some platforms" OFF) | 32 | option(ENABLE_EXTRATESTS "Enable extra tests that may be unreliable on some platforms" OFF) |
32 | option(ENABLE_NC "Enable installing TLS-enabled nc(1)" OFF) | 33 | option(ENABLE_NC "Enable installing TLS-enabled nc(1)" OFF) |
33 | option(ENABLE_VSTEST "Enable test on Visual Studio" OFF) | 34 | option(ENABLE_VSTEST "Enable test on Visual Studio" OFF) |
34 | set(OPENSSLDIR ${OPENSSLDIR} CACHE PATH "Set the default openssl directory" FORCE) | 35 | set(OPENSSLDIR ${OPENSSLDIR} CACHE PATH "Set the default openssl directory" FORCE) |
35 | 36 | ||
37 | if(NOT LIBRESSL_SKIP_INSTALL) | ||
38 | set( ENABLE_LIBRESSL_INSTALL ON ) | ||
39 | endif(NOT LIBRESSL_SKIP_INSTALL) | ||
40 | |||
41 | |||
36 | set(BUILD_NC true) | 42 | set(BUILD_NC true) |
37 | 43 | ||
38 | if(CMAKE_SYSTEM_NAME MATCHES "Darwin") | 44 | if(CMAKE_SYSTEM_NAME MATCHES "Darwin") |