blob: 7e59a7d9a7a64a06ee3dbe06177dabcb3c953ccc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
include(Linking)
include(Prebuilt)
include_guard()
create_target( ll::nghttp2 )
use_prebuilt_binary(nghttp2)
if (WINDOWS)
target_link_libraries( ll::nghttp2 INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/nghttp2.lib)
elseif (DARWIN)
target_link_libraries( ll::nghttp2 INTERFACE libnghttp2.dylib)
else (WINDOWS)
target_link_libraries( ll::nghttp2 INTERFACE libnghttp2.a )
endif (WINDOWS)
target_include_directories( ll::nghttp2 SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/nghttp2)
|