mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-17 12:00:02 +02:00
CMakeLists.txt: link with OpenSSL using imported target instead of variables.
This commit is contained in:
parent
9576e9d36f
commit
de7f1c3e19
1 changed files with 1 additions and 4 deletions
|
|
@ -60,16 +60,13 @@ endif()
|
|||
|
||||
|
||||
target_link_libraries( ${LIB_NAME}
|
||||
INTERFACE
|
||||
${OPENSSL_CRYPTO_LIBRARY}
|
||||
INTERFACE OpenSSL::Crypto
|
||||
)
|
||||
|
||||
target_include_directories( ${LIB_NAME}
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
PRIVATE
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# --------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue