diff options
author | Nicky <nicky.dasmijn@gmail.com> | 2022-04-13 10:28:46 +0200 |
---|---|---|
committer | Nicky <nicky.dasmijn@gmail.com> | 2022-04-13 10:28:46 +0200 |
commit | d3521b4462195cfe882b2cc8eb4e7c5e948c0fb6 (patch) | |
tree | eee8a16ba63a63f966d725b5b5fe2bf234b25da3 /indra/cmake/OpenSSL.cmake | |
parent | 07d388f416b64ad5ea6a79d7dee4bf9e6bab7b74 (diff) |
Remove obsolete and unmaintained USE_SYSTEMLIBS
Diffstat (limited to 'indra/cmake/OpenSSL.cmake')
-rw-r--r-- | indra/cmake/OpenSSL.cmake | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/indra/cmake/OpenSSL.cmake b/indra/cmake/OpenSSL.cmake index 80b419c36e..0aa95922ed 100644 --- a/indra/cmake/OpenSSL.cmake +++ b/indra/cmake/OpenSSL.cmake @@ -6,17 +6,13 @@ if( TARGET openssl::openssl ) endif() create_target(openssl::openssl) -if (USESYSTEMLIBS) - include(FindOpenSSL) -else (USESYSTEMLIBS) - use_prebuilt_binary(openssl) - if (WINDOWS) - set_target_libraries(openssl::openssl libssl libcrypto) - elseif (LINUX) - set_target_libraries(openssl::openssl ssl crypto dl) - else() - set_target_libraries(openssl::openssl ssl crypto) - endif (WINDOWS) - set_target_include_dirs(openssl::openssl ${LIBS_PREBUILT_DIR}/include) -endif (USESYSTEMLIBS) +use_prebuilt_binary(openssl) +if (WINDOWS) + set_target_libraries(openssl::openssl libssl libcrypto) +elseif (LINUX) + set_target_libraries(openssl::openssl ssl crypto dl) +else() + set_target_libraries(openssl::openssl ssl crypto) +endif (WINDOWS) +set_target_include_dirs(openssl::openssl ${LIBS_PREBUILT_DIR}/include) |