equal
deleted
inserted
replaced
119 if(PNG_FOUND) |
119 if(PNG_FOUND) |
120 list(INSERT engine_sources 0 PNGh.pas) |
120 list(INSERT engine_sources 0 PNGh.pas) |
121 list(REMOVE_AT PNG_LIBRARIES 1) #removing the zlib library path |
121 list(REMOVE_AT PNG_LIBRARIES 1) #removing the zlib library path |
122 get_filename_component(PNG_LIBRARY_DIR ${PNG_LIBRARIES} PATH) |
122 get_filename_component(PNG_LIBRARY_DIR ${PNG_LIBRARIES} PATH) |
123 add_flag_append(CMAKE_Pascal_FLAGS -Fl${PNG_LIBRARY_DIR}) |
123 add_flag_append(CMAKE_Pascal_FLAGS -Fl${PNG_LIBRARY_DIR}) |
|
124 add_definitions(-dPNG_SCREENSHOTS) |
124 endif() |
125 endif() |
125 |
126 |
126 if(LUA_FOUND AND LUA_SYSTEM) |
127 if(LUA_FOUND AND LUA_SYSTEM) |
127 get_filename_component(LUA_LIBRARY_DIR ${LUA_LIBRARY} PATH) |
128 get_filename_component(LUA_LIBRARY_DIR ${LUA_LIBRARY} PATH) |
128 get_filename_component(LUA_LIBRARY_NAME ${LUA_LIBRARY} NAME) |
129 get_filename_component(LUA_LIBRARY_NAME ${LUA_LIBRARY} NAME) |