equal
deleted
inserted
replaced
89 adler32.pas |
89 adler32.pas |
90 ${CMAKE_CURRENT_BINARY_DIR}/config.inc |
90 ${CMAKE_CURRENT_BINARY_DIR}/config.inc |
91 ) |
91 ) |
92 |
92 |
93 if(${BUILD_ENGINE_LIBRARY}) |
93 if(${BUILD_ENGINE_LIBRARY}) |
94 message(WARNING "Engine will be built as library (experimental)") |
94 message(${WARNING} "Engine will be built as library (experimental)") |
95 list(APPEND pascal_flags "-dHWLIBRARY") |
95 list(APPEND pascal_flags "-dHWLIBRARY") |
96 |
96 |
97 # create position independent code, only required for x68_64 builds, similar to -fPIC |
97 # create position independent code, only required for x68_64 builds, similar to -fPIC |
98 if(CMAKE_SIZEOF_VOID_P MATCHES "8") |
98 if(CMAKE_SIZEOF_VOID_P MATCHES "8") |
99 list(APPEND pascal_flags "-Cg") |
99 list(APPEND pascal_flags "-Cg") |
158 list(APPEND pascal_flags "-dPNG_SCREENSHOTS") |
158 list(APPEND pascal_flags "-dPNG_SCREENSHOTS") |
159 if(APPLE) # fpc png unit doesn't pull the library (see bug 21833) |
159 if(APPLE) # fpc png unit doesn't pull the library (see bug 21833) |
160 list(APPEND pascal_flags "-k${PNG_LIBRARY}") |
160 list(APPEND pascal_flags "-k${PNG_LIBRARY}") |
161 endif() |
161 endif() |
162 else() |
162 else() |
163 message(WARNING "Screenshots will be in BMP format because libpng was not found") |
163 message(${WARNING} "Screenshots will be in BMP format because libpng was not found") |
164 endif() |
164 endif() |
165 else() |
165 else() |
166 message(STATUS "Screenshots will be in BMP format per user request") |
166 message(STATUS "Screenshots will be in BMP format per user request") |
167 endif() |
167 endif() |
168 |
168 |
198 ELSE() |
198 ELSE() |
199 add_library(avwrapper STATIC avwrapper.c) |
199 add_library(avwrapper STATIC avwrapper.c) |
200 list(APPEND pascal_flags "-k${FFMPEG_LIBAVCODEC}" "-k${FFMPEG_LIBAVFORMAT}" "-k${FFMPEG_LIBAVUTIL}") |
200 list(APPEND pascal_flags "-k${FFMPEG_LIBAVCODEC}" "-k${FFMPEG_LIBAVFORMAT}" "-k${FFMPEG_LIBAVUTIL}") |
201 ENDIF() |
201 ENDIF() |
202 else() |
202 else() |
203 message(WARNING "Could NOT find FFMPEG/LibAV, video recording will be disabled") |
203 message(${WARNING} "Could NOT find FFMPEG/LibAV, video recording will be disabled") |
204 endif() |
204 endif() |
205 else() |
205 else() |
206 message(STATUS "Video recording disabled by user") |
206 message(STATUS "Video recording disabled by user") |
207 endif() |
207 endif() |
208 |
208 |