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

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

include(Prebuilt)

use_prebuilt_binary(uriparser)
if (WINDOWS)
  target_link_libraries( ll::uriparser INTERFACE uriparser)
elseif (LINUX)
  target_link_libraries( ll::uriparser INTERFACE uriparser)
elseif (DARWIN)
  target_link_libraries( ll::uriparser INTERFACE liburiparser.dylib)
endif (WINDOWS)
target_include_directories( ll::uriparser SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/uriparser)