equal
deleted
inserted
replaced
253 unset(CMAKE_REQUIRED_FLAGS) |
253 unset(CMAKE_REQUIRED_FLAGS) |
254 |
254 |
255 #parse additional parameters |
255 #parse additional parameters |
256 if(FPFLAGS OR GHFLAGS) |
256 if(FPFLAGS OR GHFLAGS) |
257 if(${allow_parse_args}) |
257 if(${allow_parse_args}) |
258 message(${WARNING} "FPFLAGS and GHFLAGS are available only when using CMake >= 2.8") |
|
259 else() |
|
260 separate_arguments(fpflags_parsed UNIX_COMMAND ${FPFLAGS}) |
258 separate_arguments(fpflags_parsed UNIX_COMMAND ${FPFLAGS}) |
261 separate_arguments(ghflags_parsed UNIX_COMMAND ${GHFLAGS}) |
259 separate_arguments(ghflags_parsed UNIX_COMMAND ${GHFLAGS}) |
|
260 else() |
|
261 message(${WARNING} "FPFLAGS and GHFLAGS are available only when using CMake >= 2.8") |
262 endif() |
262 endif() |
263 endif() |
263 endif() |
264 |
264 |
265 list(APPEND pascal_flags ${fpflags_parsed} # user flags |
265 list(APPEND pascal_flags ${fpflags_parsed} # user flags |
266 "-B" # compile all units |
266 "-B" # compile all units |