--- a/CMakeLists.txt Mon Jun 24 22:11:07 2013 -0400
+++ b/CMakeLists.txt Wed Jun 19 00:26:13 2013 +0200
@@ -30,11 +30,8 @@
option(BUILD_ENGINE_LIBRARY "Enable hwengine library (off)" OFF)
option(ANDROID "Enable Android build (off)" OFF)
-if(UNIX AND NOT APPLE)
- option(MINIMAL_FLAGS "Respect system flags as much as possible (off)" OFF)
-else()
- option(NOAUTOUPDATE "Disable OS X Sparkle update checking" OFF)
-endif()
+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")
@@ -91,6 +88,7 @@
set(CMAKE_CXX_FLAGS_DEBUG "-Wall")
endif()
+
#parse additional parameters
if(FPFLAGS)
add_flag_prepend(CMAKE_Pascal_FLAGS ${FPFLAGS})