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

include_guard()

include(Prebuilt)

add_library( ll::uriparser INTERFACE IMPORTED )

use_system_binary( uriparser )

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)