mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 11:14:39 +00:00
Update CMakeLists.txt to include OpenSSL include directories and check for SHA256_Init function
This commit is contained in:
@@ -37,6 +37,6 @@ target_link_libraries(tests_run PRIVATE gtest gtest_main aaruformat)
|
||||
if(LIBRESSL_FOUND)
|
||||
target_link_libraries(tests_run PRIVATE ${LIBRESSL_CRYPTO_LIBRARY})
|
||||
elseif(OpenSSL_FOUND)
|
||||
target_link_libraries(tests_run ${OPENSSL_CRYPTO_LIBRARY})
|
||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||
target_link_libraries(tests_run PRIVATE ${OPENSSL_CRYPTO_LIBRARY})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user