Fix:Build:Fixed osx bundle creation
[profile/ivi/navit.git] / navit / CMakeLists.txt
index 6540d06..97fa256 100755 (executable)
@@ -459,7 +459,7 @@ endif()
 if (APPLE OR USE_UIKIT)
    set_with_reason(vehicle/iphone "apple detected" TRUE)
    set_with_reason(graphics/cocoa "apple detected" TRUE)
-   set(BUILD_BUNDLE TRUE)
+   set(BUILD_BUNDLE TRUE CACHE BOOLEAN "build an osx bundle")
 endif()
 
 set(LOCALEDIR "${LOCALE_DIR}/locale")