]> git.jsancho.org Git - lugaru.git/commitdiff
Fixed Data folder path for OSX bundles
authorNeal Gompa <ngompa13@gmail.com>
Sun, 16 May 2010 03:55:31 +0000 (22:55 -0500)
committerNeal Gompa <ngompa13@gmail.com>
Sun, 16 May 2010 03:55:31 +0000 (22:55 -0500)
CMakeLists.txt

index d2a8c2994ecb927290a90aa16b46124da26aaccd..ee5c085bb58d4505b031c3e982d2294ec74662db 100644 (file)
@@ -538,7 +538,13 @@ else(WIN32)
        endif(APPLE AND LUGARU_HAS_INTERNAL_SDL)
 endif(WIN32)
 
+if(NOT APPLE)
 install(DIRECTORY ${CMAKE_SOURCE_DIR}/Data DESTINATION ${CMAKE_INSTALL_PREFIX})
+endif(NOT APPLE)
+
+if(APPLE)
+install(DIRECTORY ${CMAKE_SOURCE_DIR}/Data DESTINATION ${APPS_ROOT})
+endif(APPLE)
 
 if (LUGARU_MISSING_DEPS)
     message(STATUS "Using our copy of these libs: ${LUGARU_MISSING_DEPS}")