diff options
author | Nicky <nicky.dasmijn@gmail.com> | 2022-04-17 17:32:14 +0200 |
---|---|---|
committer | Nicky <nicky.dasmijn@gmail.com> | 2022-04-17 17:32:14 +0200 |
commit | 6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (patch) | |
tree | 2da3081a07fe04507e907dc5a7b02512489061c6 /indra/cmake/NGHTTP2.cmake | |
parent | 34b5c5e89066171a3b98c58edc1185559ebcc75e (diff) |
Switch over to standard target_link_libraries (cmake requirements are high enough now).
Diffstat (limited to 'indra/cmake/NGHTTP2.cmake')
-rw-r--r-- | indra/cmake/NGHTTP2.cmake | 6 |
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) |