equal
deleted
inserted
replaced
140 endif() |
140 endif() |
141 else() |
141 else() |
142 message(FATAL_ERROR "No Pascal compiler found!") |
142 message(FATAL_ERROR "No Pascal compiler found!") |
143 endif() |
143 endif() |
144 |
144 |
|
145 find_package(png) |
|
146 if(${PNG_LIBRARY}) |
|
147 set(pascal_compiler_flags_cmn "-dPNG_SCREENSHOTS" ${pascal_compiler_flags_cmn}) |
|
148 else() |
|
149 message(STATUS "PNG library not found, switching to screenshots in BMP format") |
|
150 endif() |
|
151 |
145 set(pascal_compiler ${fpc_executable}) |
152 set(pascal_compiler ${fpc_executable}) |
146 set(pascal_compiler_flags ${noexecstack_flags} ${pascal_compiler_flags_cmn} ${hwengine_project}) |
153 set(pascal_compiler_flags ${noexecstack_flags} ${pascal_compiler_flags_cmn} ${hwengine_project}) |
147 |
154 |
148 |
155 |
149 #DEPENDECIES AND EXECUTABLES SECTION |
156 #DEPENDECIES AND EXECUTABLES SECTION |