hedgewars/CMakeLists.txt
changeset 9668 75aab6802a2e
parent 9650 1c7c87ce37fd
child 9677 71626318f80e
child 9741 cf086f49516b
--- 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)