summaryrefslogtreecommitdiff
path: root/indra/cmake/URIPARSER.cmake
blob: b1c76c006aac8efd2542fc738d1de3da923804f9 (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_conan_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)