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) |
145 find_package(PNG) |
146 if(${PNG_LIBRARY}) |
146 if(${PNG_FOUND}) |
147 set(pascal_compiler_flags_cmn "-dPNG_SCREENSHOTS" ${pascal_compiler_flags_cmn}) |
147 set(pascal_compiler_flags_cmn "-dPNG_SCREENSHOTS" ${pascal_compiler_flags_cmn}) |
148 else() |
148 else() |
149 message(STATUS "PNG library not found, switching to screenshots in BMP format") |
149 message(STATUS "PNG library not found, switching to screenshots in BMP format") |
150 endif() |
150 endif() |
151 |
151 |