equal
deleted
inserted
replaced
234 endif() |
234 endif() |
235 endif() |
235 endif() |
236 unset(CMAKE_REQUIRED_FLAGS) |
236 unset(CMAKE_REQUIRED_FLAGS) |
237 |
237 |
238 #parse additional parameters |
238 #parse additional parameters |
239 if(FPFLAGS OR GHFLAGS) |
239 if(FPFLAGS) |
|
240 add_flag_prepend(CMAKE_Pascal_FLAGS ${FPFLAGS}) |
|
241 endif() |
|
242 if(GHFLAGS) |
240 if(${allow_parse_args}) |
243 if(${allow_parse_args}) |
|
244 separate_arguments(ghflags_parsed UNIX_COMMAND ${GHFLAGS}) |
|
245 else() |
241 message(${WARNING} "FPFLAGS and GHFLAGS are available only when using CMake >= 2.8") |
246 message(${WARNING} "FPFLAGS and GHFLAGS are available only when using CMake >= 2.8") |
242 else() |
|
243 separate_arguments(fpflags_parsed UNIX_COMMAND ${FPFLAGS}) |
|
244 separate_arguments(ghflags_parsed UNIX_COMMAND ${GHFLAGS}) |
|
245 endif() |
247 endif() |
246 endif() |
248 endif() |
247 |
249 |
248 |
250 |
249 list(APPEND haskell_flags ${ghflags_parsed} # user flags |
251 list(APPEND haskell_flags ${ghflags_parsed} # user flags |