X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;h=ee5c085bb58d4505b031c3e982d2294ec74662db;hb=9d23e169c127a4e291aa317e0811d42895b6dd3a;hp=d2a8c2994ecb927290a90aa16b46124da26aaccd;hpb=c608c3e5c837583b23f517fa4cb209c2b53e39f3;p=lugaru.git 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}")