unbreak png screenshots
authorsheepluva
Sun, 03 Nov 2013 16:54:44 +0100
changeset 9668 75aab6802a2e
parent 9667 0b27737fc28f
child 9669 9fa0f67ff628
unbreak png screenshots
hedgewars/CMakeLists.txt
--- a/hedgewars/CMakeLists.txt	Sat Nov 02 22:49:32 2013 +0400
+++ b/hedgewars/CMakeLists.txt	Sun Nov 03 16:54:44 2013 +0100
@@ -121,6 +121,7 @@
     list(REMOVE_AT PNG_LIBRARIES 1) #removing the zlib library path
     get_filename_component(PNG_LIBRARY_DIR ${PNG_LIBRARIES} PATH)
     add_flag_append(CMAKE_Pascal_FLAGS -Fl${PNG_LIBRARY_DIR})
+    add_definitions(-dPNG_SCREENSHOTS)
 endif()
 
 if(LUA_FOUND AND LUA_SYSTEM)