hedgewars/CMakeLists.txt
branchwebgl
changeset 9127 e350500c4edb
parent 8847 ff7fbab7cd56
parent 8932 e095e3023682
child 9130 4f4b71da3559
--- a/hedgewars/CMakeLists.txt	Thu Apr 04 14:37:19 2013 +0200
+++ b/hedgewars/CMakeLists.txt	Tue Jun 04 22:28:12 2013 +0200
@@ -175,7 +175,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()