FPFLAGS are now not needed
authorkoda
Wed, 10 Jul 2013 23:12:32 +0200
changeset 9349 8ec5cf11e85a
parent 9348 4ec6eff176a5
child 9350 59408b4515dd
FPFLAGS are now not needed
CMakeLists.txt
--- a/CMakeLists.txt	Wed Jul 10 23:10:59 2013 +0200
+++ b/CMakeLists.txt	Wed Jul 10 23:12:32 2013 +0200
@@ -33,7 +33,6 @@
 option(MINIMAL_FLAGS "Respect system flags as much as possible (off)" OFF)
 option(NOAUTOUPDATE "Disable OS X Sparkle update checking (off)" OFF)
 
-set(FPFLAGS "" CACHE STRING "Additional Freepascal flags")
 set(GHFLAGS "" CACHE STRING "Additional Haskell flags")
 if(UNIX AND NOT APPLE)
     set(DATA_INSTALL_DIR "share/hedgewars" CACHE STRING "Resource folder path")
@@ -93,14 +92,11 @@
 
 
 #parse additional parameters
-if(FPFLAGS)
-    add_flag_prepend(CMAKE_Pascal_FLAGS ${FPFLAGS})
-endif()
 if(GHFLAGS)
     if(${CMAKE_VERSION} VERSION_GREATER 2.6)
         separate_arguments(ghflags_parsed UNIX_COMMAND ${GHFLAGS})
     else()
-        message(${WARNING} "FPFLAGS and GHFLAGS are available only when using CMake >= 2.8")
+        message(${WARNING} "GHFLAGS are available only when using CMake >= 2.8")
     endif()
 endif()