From: Perttu Ahola Date: Mon, 28 Nov 2011 20:10:06 +0000 (+0200) Subject: Fix CMake install data path X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=c910ead4db55bca09764cda71cd24ee5aef9e93b;p=zefram%2Fminetest%2Fminetest_engine.git Fix CMake install data path --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b714e89f..a7805fae 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -310,7 +310,9 @@ if(BUILD_CLIENT) #file(GLOB images "${CMAKE_CURRENT_SOURCE_DIR}/../data/textures/*.png") #install(FILES ${images} DESTINATION ${DATADIR}/textures) - install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../data" DESTINATION ${DATADIR}) + #file(GLOB datasubstuff "${CMAKE_CURRENT_SOURCE_DIR}/../data/*") + #install(DIRECTORY "${datasubstuff}" DESTINATION ${DATADIR}) + install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../data/" DESTINATION ${DATADIR}) if(USE_GETTEXT) foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})