summaryrefslogtreecommitdiff
path: root/indra/cmake/PNG.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/PNG.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)