From 9d23e169c127a4e291aa317e0811d42895b6dd3a Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sat, 15 May 2010 22:55:31 -0500 Subject: [PATCH] Fixed Data folder path for OSX bundles --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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}") -- 2.39.2