summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenSSL.cmake
blob: d58639610549b91b65e7070df781647613b62ec4 (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)
  set_target_libraries(ll::openssl libssl libcrypto)
elseif (LINUX)
  set_target_libraries(ll::openssl ssl crypto dl)
else()
  set_target_libraries(ll::openssl ssl crypto)
endif (WINDOWS)
set_target_include_dirs(ll::openssl ${LIBS_PREBUILT_DIR}/include)