Fixed Data folder path for OSX bundles
authorNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 15 May 2010 22:55:31 -0500
changeset 269 efb1802850fa
parent 268 a55b16cc4ff9
child 270 9d191a6acbad
Fixed Data folder path for OSX bundles
CMakeLists.txt
--- a/CMakeLists.txt	Sat May 15 22:17:45 2010 -0500
+++ b/CMakeLists.txt	Sat May 15 22:55:31 2010 -0500
@@ -538,7 +538,13 @@
 	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}")