summaryrefslogtreecommitdiff
path: root/indra/cmake/ZLIBNG.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/ZLIBNG.cmake
parent07d388f416b64ad5ea6a79d7dee4bf9e6bab7b74 (diff)
Remove obsolete and unmaintained USE_SYSTEMLIBS
Diffstat (limited to 'indra/cmake/ZLIBNG.cmake')
-rw-r--r--indra/cmake/ZLIBNG.cmake18
1 files changed, 7 insertions, 11 deletions
diff --git a/indra/cmake/ZLIBNG.cmake b/indra/cmake/ZLIBNG.cmake
index 5aaca60664..d5e882cb68 100644
--- a/indra/cmake/ZLIBNG.cmake
+++ b/indra/cmake/ZLIBNG.cmake
@@ -7,14 +7,10 @@ if( TARGET zlib-ng::zlib-ng )
endif()
create_target(zlib-ng::zlib-ng)
-if (USESYSTEMLIBS)
- include(FindZLIBNG)
-else (USESYSTEMLIBS)
- use_prebuilt_binary(zlib-ng)
- if (WINDOWS)
- set_target_libraries( zlib-ng::zlib-ng zlib )
- else()
- set_target_libraries( zlib-ng::zlib-ng z )
- endif (WINDOWS)
- set_target_include_dirs( zlib-ng::zlib-ng ${LIBS_PREBUILT_DIR}/include/zlib-ng)
-endif (USESYSTEMLIBS)
+use_prebuilt_binary(zlib-ng)
+if (WINDOWS)
+ set_target_libraries( zlib-ng::zlib-ng zlib )
+else()
+ set_target_libraries( zlib-ng::zlib-ng z )
+endif (WINDOWS)
+set_target_include_dirs( zlib-ng::zlib-ng ${LIBS_PREBUILT_DIR}/include/zlib-ng)