mirror of
https://github.com/vgough/encfs.git
synced 2024-11-23 00:13:20 +01:00
fb9a8ff879
git-svn-id: http://encfs.googlecode.com/svn/trunk@92 db9cf616-1c43-0410-9cb8-a902689de0d6
25 lines
663 B
CMake
25 lines
663 B
CMake
|
|
include (CheckFunctionExists)
|
|
|
|
set (CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES})
|
|
set (CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
|
|
|
|
check_function_exists (EVP_bf_cbc HAVE_EVP_BF)
|
|
if (NOT HAVE_EVP_BF)
|
|
message (STATUS " Blowfish support disabled.")
|
|
endif (NOT HAVE_EVP_BF)
|
|
|
|
check_function_exists (EVP_aes_128_cbc HAVE_EVP_AES)
|
|
if (NOT HAVE_EVP_AES)
|
|
message (STATUS " AES support disabled.")
|
|
endif (NOT HAVE_EVP_AES)
|
|
|
|
check_function_exists (EVP_aes_128_xts HAVE_EVP_AES_XTS)
|
|
if (NOT HAVE_EVP_AES_XTS)
|
|
message (STATUS " AES/XTS support disabled.")
|
|
endif (NOT HAVE_EVP_AES_XTS)
|
|
|
|
set (CMAKE_REQUIRED_LIBRARIES)
|
|
set (CMAKE_REQUIRED_INCLUDES)
|
|
|