Skip to content
Snippets Groups Projects
Commit 709dfbd2 authored by Stephen Hurd's avatar Stephen Hurd
Browse files

The library seems to be called cl32.lib on Win32 for no apparent reason

parent 4168ee5a
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,10 @@ ExternalProject_Add( ...@@ -53,6 +53,10 @@ ExternalProject_Add(
) )
add_library(cryptlib STATIC IMPORTED GLOBAL) add_library(cryptlib STATIC IMPORTED GLOBAL)
set_target_properties(cryptlib PROPERTIES IMPORTED_LOCATION ${Cryptlib_BINARY_DIR}/libcl.a) if(MSVC)
set_target_properties(cryptlib PROPERTIES IMPORTED_LOCATION ${Cryptlib_BINARY_DIR}/cl32.lib)
else()
set_target_properties(cryptlib PROPERTIES IMPORTED_LOCATION ${Cryptlib_BINARY_DIR}/libcl.a)
endif()
target_include_directories(cryptlib INTERFACE ${Cryptlib_BINARY_DIR}) target_include_directories(cryptlib INTERFACE ${Cryptlib_BINARY_DIR})
add_dependencies(cryptlib CryptlibBuild) add_dependencies(cryptlib CryptlibBuild)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment