summaryrefslogtreecommitdiff
path: root/indra/cmake/ZLIBNG.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
commit6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (patch)
tree2da3081a07fe04507e907dc5a7b02512489061c6 /indra/cmake/ZLIBNG.cmake
parent34b5c5e89066171a3b98c58edc1185559ebcc75e (diff)
Switch over to standard target_link_libraries (cmake requirements are high enough now).
Diffstat (limited to 'indra/cmake/ZLIBNG.cmake')
-rw-r--r--indra/cmake/ZLIBNG.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/ZLIBNG.cmake b/indra/cmake/ZLIBNG.cmake
index 6e206f1e48..a95005e368 100644
--- a/indra/cmake/ZLIBNG.cmake
+++ b/indra/cmake/ZLIBNG.cmake
@@ -7,8 +7,8 @@ create_target(ll::zlib-ng)
use_prebuilt_binary(zlib-ng)
if (WINDOWS)
- set_target_libraries( ll::zlib-ng zlib )
+ target_link_libraries( ll::zlib-ng INTERFACE zlib )
else()
- set_target_libraries( ll::zlib-ng z )
+ target_link_libraries( ll::zlib-ng INTERFACE z )
endif (WINDOWS)
set_target_include_dirs( ll::zlib-ng ${LIBS_PREBUILT_DIR}/include/zlib-ng)