summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenSSL.cmake
blob: c7be08624dcf7bcf531f4d169c1fc694bf2bc765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- cmake -*-
include(Prebuilt)

include_guard()
create_target(ll::openssl)

use_prebuilt_binary(openssl)
if (WINDOWS)
  target_link_libraries(ll::openssl INTERFACE libssl libcrypto)
elseif (LINUX)
  target_link_libraries(ll::openssl INTERFACE ssl crypto dl)
else()
  target_link_libraries(ll::openssl INTERFACE ssl crypto)
endif (WINDOWS)
set_target_include_dirs(ll::openssl ${LIBS_PREBUILT_DIR}/include)