summaryrefslogtreecommitdiff
path: root/indra/cmake/NGHTTP2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/NGHTTP2.cmake')
-rw-r--r--indra/cmake/NGHTTP2.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/NGHTTP2.cmake b/indra/cmake/NGHTTP2.cmake
index 3007d6f914..fdff9a72fa 100644
--- a/indra/cmake/NGHTTP2.cmake
+++ b/indra/cmake/NGHTTP2.cmake
@@ -6,10 +6,10 @@ create_target( ll::nghttp2 )
use_prebuilt_binary(nghttp2)
if (WINDOWS)
- set_target_libraries( ll::nghttp2 ${ARCH_PREBUILT_DIRS_RELEASE}/nghttp2.lib)
+ target_link_libraries( ll::nghttp2 INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/nghttp2.lib)
elseif (DARWIN)
- set_target_libraries( ll::nghttp2 libnghttp2.dylib)
+ target_link_libraries( ll::nghttp2 INTERFACE libnghttp2.dylib)
else (WINDOWS)
- set_target_libraries( ll::nghttp2 libnghttp2.a )
+ target_link_libraries( ll::nghttp2 INTERFACE libnghttp2.a )
endif (WINDOWS)
set_target_include_dirs( ll::nghttp2 ${LIBS_PREBUILT_DIR}/include/nghttp2)