equal
deleted
inserted
replaced
16 SDLh.pas |
16 SDLh.pas |
17 uSinTable.pas |
17 uSinTable.pas |
18 uFloat.pas |
18 uFloat.pas |
19 uConsts.pas |
19 uConsts.pas |
20 LuaPas.pas |
20 LuaPas.pas |
21 PNGh.pas |
|
22 uTypes.pas |
21 uTypes.pas |
23 uUtils.pas |
22 uUtils.pas |
24 uVariables.pas |
23 uVariables.pas |
25 uMisc.pas |
24 uMisc.pas |
26 uConsole.pas |
25 uConsole.pas |
138 add_flag_append(CMAKE_Pascal_FLAGS -Fl${LIBRARY_OUTPUT_PATH}) |
137 add_flag_append(CMAKE_Pascal_FLAGS -Fl${LIBRARY_OUTPUT_PATH}) |
139 endif() |
138 endif() |
140 |
139 |
141 find_package_or_disable_msg(PNG NOPNG "Screenshots will be saved in BMP") |
140 find_package_or_disable_msg(PNG NOPNG "Screenshots will be saved in BMP") |
142 if(PNG_FOUND) |
141 if(PNG_FOUND) |
|
142 list(APPEND engine_sources PNGh.pas) |
143 list(REMOVE_AT PNG_LIBRARIES 1) #removing the zlib library path |
143 list(REMOVE_AT PNG_LIBRARIES 1) #removing the zlib library path |
144 get_filename_component(PNG_LIBRARY_DIR ${PNG_LIBRARIES} PATH) |
144 get_filename_component(PNG_LIBRARY_DIR ${PNG_LIBRARIES} PATH) |
145 add_flag_append(CMAKE_Pascal_FLAGS -Fl${PNG_LIBRARY_DIR}) |
145 add_flag_append(CMAKE_Pascal_FLAGS -Fl${PNG_LIBRARY_DIR}) |
146 endif() |
146 endif() |
147 |
147 |