From: Perttu Ahola Date: Mon, 28 Nov 2011 20:10:06 +0000 (+0200) Subject: Fix CMake install data path X-Git-Tag: 0.4.dev-20111201-0~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c910ead4db55bca09764cda71cd24ee5aef9e93b;p=oweals%2Fminetest.git Fix CMake install data path --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b714e89f1..a7805faea 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})