hedgewars/CMakeLists.txt
branch0.9.19
changeset 8932 e095e3023682
parent 8832 4e9728dcebeb
child 9127 e350500c4edb
child 9151 1d2df388fcc6
--- a/hedgewars/CMakeLists.txt	Sun Apr 21 01:35:30 2013 +0200
+++ b/hedgewars/CMakeLists.txt	Sun Apr 21 01:36:08 2013 +0200
@@ -169,7 +169,7 @@
 if(PNG_FOUND)
     list(REMOVE_AT PNG_LIBRARIES 1) #removing the zlib library path
     get_filename_component(PNG_LIBRARY_DIR ${PNG_LIBRARIES} PATH)
-    list(APPEND pascal_flags "-dPNG_SCREENSHOTS" "-Fl${PNG_LIBRARY_DIR}")
+    list(APPEND pascal_flags "-dPNG_SCREENSHOTS" "-Fl${PNG_LIBRARY_DIR}" "-k-L${PNG_LIBRARY_DIR}")
 endif()