summaryrefslogtreecommitdiff
path: root/indra/cmake/NGHTTP2.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-13 10:28:46 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-13 10:28:46 +0200
commitd3521b4462195cfe882b2cc8eb4e7c5e948c0fb6 (patch)
treeeee8a16ba63a63f966d725b5b5fe2bf234b25da3 /indra/cmake/NGHTTP2.cmake
parent07d388f416b64ad5ea6a79d7dee4bf9e6bab7b74 (diff)
Remove obsolete and unmaintained USE_SYSTEMLIBS
Diffstat (limited to 'indra/cmake/NGHTTP2.cmake')
-rw-r--r--indra/cmake/NGHTTP2.cmake22
1 files changed, 9 insertions, 13 deletions
diff --git a/indra/cmake/NGHTTP2.cmake b/indra/cmake/NGHTTP2.cmake
index 5215af5dd9..b1a0d33102 100644
--- a/indra/cmake/NGHTTP2.cmake
+++ b/indra/cmake/NGHTTP2.cmake
@@ -5,16 +5,12 @@ if( TARGET nghttp2::nghttp2 )
endif()
create_target( nghttp2::nghttp2 )
-if (USESYSTEMLIBS)
- include(FindNGHTTP2)
-else (USESYSTEMLIBS)
- use_prebuilt_binary(nghttp2)
- if (WINDOWS)
- set_target_libraries( nghttp2::nghttp2 ${ARCH_PREBUILT_DIRS_RELEASE}/nghttp2.lib)
- elseif (DARWIN)
- set_target_libraries( nghttp2::nghttp2 libnghttp2.dylib)
- else (WINDOWS)
- set_target_libraries( nghttp2::nghttp2 libnghttp2.a )
- endif (WINDOWS)
- set_target_include_dirs( nghttp2::nghttp2 ${LIBS_PREBUILT_DIR}/include/nghttp2)
-endif (USESYSTEMLIBS)
+use_prebuilt_binary(nghttp2)
+if (WINDOWS)
+ set_target_libraries( nghttp2::nghttp2 ${ARCH_PREBUILT_DIRS_RELEASE}/nghttp2.lib)
+elseif (DARWIN)
+ set_target_libraries( nghttp2::nghttp2 libnghttp2.dylib)
+else (WINDOWS)
+ set_target_libraries( nghttp2::nghttp2 libnghttp2.a )
+endif (WINDOWS)
+set_target_include_dirs( nghttp2::nghttp2 ${LIBS_PREBUILT_DIR}/include/nghttp2)