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/ZLIBNG.cmake | |
parent | 34b5c5e89066171a3b98c58edc1185559ebcc75e (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.cmake | 4 |
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) |