diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f42c09..21fc519 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,6 @@ project("sodium") option(SODIUM_DISABLE_TESTS "Disable tests" OFF) option(SODIUM_MINIMAL "Only compile the minimum set of functions required for the high-level API" OFF) option(SODIUM_ENABLE_BLOCKING_RANDOM "Enable this switch only if /dev/urandom is totally broken on the target platform" OFF) -option(SODIUM_PRETEND_TO_BE_CONFIGURED "Silence warnings about build system not being properly configured" OFF) add_library(${PROJECT_NAME} libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c @@ -274,10 +273,10 @@ target_compile_definitions(${PROJECT_NAME} $<$>:SODIUM_STATIC> $<$:SODIUM_LIBRARY_MINIMAL> PRIVATE + CONFIGURED $<$:SODIUM_DLL_EXPORT> $<$:USE_BLOCKING_RANDOM> $<$:MINIMAL> - $<$:CONFIGURED> ) # Variables that need to be exported to version.h.in