summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenSSL.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
commit6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (patch)
tree2da3081a07fe04507e907dc5a7b02512489061c6 /indra/cmake/OpenSSL.cmake
parent34b5c5e89066171a3b98c58edc1185559ebcc75e (diff)
Switch over to standard target_link_libraries (cmake requirements are high enough now).
Diffstat (limited to 'indra/cmake/OpenSSL.cmake')
-rw-r--r--indra/cmake/OpenSSL.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/OpenSSL.cmake b/indra/cmake/OpenSSL.cmake
index d586396105..c7be08624d 100644
--- a/indra/cmake/OpenSSL.cmake
+++ b/indra/cmake/OpenSSL.cmake
@@ -6,11 +6,11 @@ create_target(ll::openssl)
use_prebuilt_binary(openssl)
if (WINDOWS)
- set_target_libraries(ll::openssl libssl libcrypto)
+ target_link_libraries(ll::openssl INTERFACE libssl libcrypto)
elseif (LINUX)
- set_target_libraries(ll::openssl ssl crypto dl)
+ target_link_libraries(ll::openssl INTERFACE ssl crypto dl)
else()
- set_target_libraries(ll::openssl ssl crypto)
+ target_link_libraries(ll::openssl INTERFACE ssl crypto)
endif (WINDOWS)
set_target_include_dirs(ll::openssl ${LIBS_PREBUILT_DIR}/include)