summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-06 22:37:09 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-06 23:33:06 +0200
commitbe71a255a0831b865bdd6a1a2c8b86ac710fd379 (patch)
tree31abfe38d4d25914559f84ebde664e695faa5573 /indra/cmake
parentdae6c3d2bf73a8f49d088682fed86409c5544f63 (diff)
Set PNG link targets for OSX and Linux
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/PNG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/PNG.cmake b/indra/cmake/PNG.cmake
index 54b2438425..cf338ebe5e 100644
--- a/indra/cmake/PNG.cmake
+++ b/indra/cmake/PNG.cmake
@@ -16,7 +16,7 @@ else (USESYSTEMLIBS)
if (WINDOWS)
set_target_libraries(libpng::libpng libpng16)
else()
- set(PNG_LIBRARIES png16)
+ set_target_libraries(libpng::libpng png16 )
endif()
set_target_include_dirs( libpng::libpng ${LIBS_PREBUILT_DIR}/include/libpng16)
endif (USESYSTEMLIBS)