CMakeLists.txt
branchspacecampaign
changeset 9382 f1464fa10c0b
parent 9349 8ec5cf11e85a
child 9353 3694d354289e
child 9381 90f9d8046a86
--- a/CMakeLists.txt	Fri Jul 19 04:51:08 2013 +0300
+++ b/CMakeLists.txt	Sat Jul 27 17:23:26 2013 +0300
@@ -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()