CMakeLists.txt
branch0.9.19
changeset 9104 5cf87143b188
parent 9096 b3041025c271
child 9106 5ce3cfe45476
--- a/CMakeLists.txt	Mon Jun 03 16:15:17 2013 +0200
+++ b/CMakeLists.txt	Mon Jun 03 16:25:30 2013 +0200
@@ -255,10 +255,10 @@
 #parse additional parameters
 if(FPFLAGS OR GHFLAGS)
     if(${allow_parse_args})
-        message(${WARNING} "FPFLAGS and GHFLAGS are available only when using CMake >= 2.8")
-    else()
         separate_arguments(fpflags_parsed UNIX_COMMAND ${FPFLAGS})
         separate_arguments(ghflags_parsed UNIX_COMMAND ${GHFLAGS})
+    else()
+        message(${WARNING} "FPFLAGS and GHFLAGS are available only when using CMake >= 2.8")
     endif()
 endif()