Skip to content
Snippets Groups Projects
Commit be71a255 authored by Nicky's avatar Nicky
Browse files

Set PNG link targets for OSX and Linux

parent dae6c3d2
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -16,7 +16,7 @@ else (USESYSTEMLIBS) ...@@ -16,7 +16,7 @@ else (USESYSTEMLIBS)
if (WINDOWS) if (WINDOWS)
set_target_libraries(libpng::libpng libpng16) set_target_libraries(libpng::libpng libpng16)
else() else()
set(PNG_LIBRARIES png16) set_target_libraries(libpng::libpng png16 )
endif() endif()
set_target_include_dirs( libpng::libpng ${LIBS_PREBUILT_DIR}/include/libpng16) set_target_include_dirs( libpng::libpng ${LIBS_PREBUILT_DIR}/include/libpng16)
endif (USESYSTEMLIBS) endif (USESYSTEMLIBS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment