summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenSSL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/OpenSSL.cmake')
-rw-r--r--indra/cmake/OpenSSL.cmake14
1 files changed, 6 insertions, 8 deletions
diff --git a/indra/cmake/OpenSSL.cmake b/indra/cmake/OpenSSL.cmake
index 0aa95922ed..d586396105 100644
--- a/indra/cmake/OpenSSL.cmake
+++ b/indra/cmake/OpenSSL.cmake
@@ -1,18 +1,16 @@
# -*- cmake -*-
include(Prebuilt)
-if( TARGET openssl::openssl )
- return()
-endif()
-create_target(openssl::openssl)
+include_guard()
+create_target(ll::openssl)
use_prebuilt_binary(openssl)
if (WINDOWS)
- set_target_libraries(openssl::openssl libssl libcrypto)
+ set_target_libraries(ll::openssl libssl libcrypto)
elseif (LINUX)
- set_target_libraries(openssl::openssl ssl crypto dl)
+ set_target_libraries(ll::openssl ssl crypto dl)
else()
- set_target_libraries(openssl::openssl ssl crypto)
+ set_target_libraries(ll::openssl ssl crypto)
endif (WINDOWS)
-set_target_include_dirs(openssl::openssl ${LIBS_PREBUILT_DIR}/include)
+set_target_include_dirs(ll::openssl ${LIBS_PREBUILT_DIR}/include)