Update CMake environment and add new tool
[umurmur.git] / cmake / Modules / Options.cmake
1 # PolarSSL
2 option(USE_POLARSSL_TESTCERT "Link to the PolarSSL test certificate and key." OFF)
3 option(USE_POLARSSL_HAVEGE "Use the PolarSSL HAVEGE random generator key." OFF)
4
5 if(USE_POLARSSL_TESTCERT OR USE_POLARSSL_HAVEGE)
6   if(SSL NOT MATCHES "polarssl")
7     message(FATAL_ERROR "Selecting USE_POLARSSL_TESTCERT or USE_POLARSSL_HAVEGE implies SSL=polarssl")
8   endif()
9 endif()
10
11 # mbedTLS
12 option(USE_MBEDTLS_TESTCERT "Link to the mbedTLS test certificate and key." OFF)
13 option(USE_MBEDTLS_HAVEGE "Use the mbedTLS HAVEGE random generator key." OFF)
14
15 if(USE_MBEDTLS_TESTCERT OR USE_MBEDTLS_HAVEGE)
16   if(SSL NOT MATCHES "mbedtls")
17     message(FATAL_ERROR "Selecting USE_MBEDTLS_TESTCERT or USE_MBEDTLS_HAVEGE implies SSL=mbedtls")
18   endif()
19 endif()
20
21 # SHM API
22 option(USE_SHAREDMEMORY_API "Compile with Sharedmemory API support" OFF)
23