CMakeLists.txt
changeset 8317 ec9f94ab2737
parent 8316 89232b2fa1d6
child 8330 aaefa587e277
child 8331 217c3fd72a2d
--- a/CMakeLists.txt	Thu Dec 20 23:12:18 2012 +0100
+++ b/CMakeLists.txt	Thu Dec 20 23:14:54 2012 +0100
@@ -22,7 +22,6 @@
 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(CROSSAPPLE "Enable OSX when not on OSX [default: off]" OFF)
 option(MINIMAL_FLAGS "Respect system flags as much as possible [default: off]" OFF)
 set(FPFLAGS "" CACHE STRING "Additional Freepascal flags" FORCE)
 set(GHFLAGS "" CACHE STRING "Additional Haskell flags" FORCE)
@@ -81,10 +80,10 @@
 else()
     set(target_binary_install_dir "./")
 
-    if(APPLE OR ${CROSSAPPLE})
-        set(target_library_install_dir "Hedgewars.app/Contents/Frameworks/")
+    if(APPLE)
         set(CMAKE_INSTALL_PREFIX "Hedgewars.app/Contents/MacOS/")
         set(SHAREPATH "../Resources/")
+        set(target_library_install_dir "../Frameworks/")
     else()
         if(WIN32)
             set(target_library_install_dir "./")