CMakeLists.txt
branch0.9.19
changeset 9104 5cf87143b188
parent 9096 b3041025c271
child 9106 5ce3cfe45476
equal deleted inserted replaced
9102:6528c2ad5985 9104:5cf87143b188
   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