Permalink
Browse files

CMAKE: Add zlib to the libraries list when png is added

  • Loading branch information...
1 parent 0aeee61 commit 9551e291717a4f6cc5fd3b291f701848fe3d9d1e @szekerest szekerest committed Apr 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
@@ -237,7 +237,7 @@ target_link_libraries(scalebar ${MAPSERVER_LIBMAPSERVER})
find_package(PNG)
if(PNG_FOUND)
include_directories(${PNG_INCLUDE_DIR})
- ms_link_libraries( ${PNG_LIBRARY})
+ ms_link_libraries( ${PNG_LIBRARIES})
set(USE_PNG 1)
else(PNG_FOUND)
report_mandatory_not_found(PNG)

0 comments on commit 9551e29

Please sign in to comment.