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

include_guard()
add_library( ll::libcurl INTERFACE IMPORTED )

#use_system_binary(libcurl)
#use_prebuilt_binary(curl)
if (WINDOWS)
  target_link_libraries(ll::libcurl INTERFACE libcurl.lib)
else (WINDOWS)
  target_link_libraries(ll::libcurl INTERFACE libcurl.a)
endif (WINDOWS)
target_include_directories( ll::libcurl SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include)