CMakeLists.txt
changeset 8659 e49056d3aba1
parent 8650 18807b6302c8
child 8665 3ff8694d9e22
--- a/CMakeLists.txt	Wed Mar 06 01:24:59 2013 +0100
+++ b/CMakeLists.txt	Wed Mar 06 01:28:21 2013 +0100
@@ -29,8 +29,10 @@
 
 option(BUILD_ENGINE_LIBRARY "Enable hwengine library [default: off]" OFF)
 option(ANDROID "Enable Android build [default: off]" OFF)
-option(NOAUTOUPDATE "Disable OS X Sparkle update checking" OFF)
 option(MINIMAL_FLAGS "Respect system flags as much as possible [default: off]" OFF)
+if(APPLE)
+    option(NOAUTOUPDATE "Disable OS X Sparkle update checking" OFF)
+endif()
 
 set(FPFLAGS "" CACHE STRING "Additional Freepascal flags")
 set(GHFLAGS "" CACHE STRING "Additional Haskell flags")