From: Neal Gompa Date: Sun, 16 May 2010 03:55:31 +0000 (-0500) Subject: Fixed Data folder path for OSX bundles X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=9d23e169c127a4e291aa317e0811d42895b6dd3a Fixed Data folder path for OSX bundles --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d2a8c29..ee5c085 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}")