diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-28 22:10:06 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:57 +0200 |
commit | c910ead4db55bca09764cda71cd24ee5aef9e93b (patch) | |
tree | 30ed9dd7c693f5eb2bedcab216ecd9889a87539b /src | |
parent | fe64f2b673d985d2842991014af0ba085eaf27db (diff) | |
download | minetest-c910ead4db55bca09764cda71cd24ee5aef9e93b.tar.gz minetest-c910ead4db55bca09764cda71cd24ee5aef9e93b.tar.bz2 minetest-c910ead4db55bca09764cda71cd24ee5aef9e93b.zip |
Fix CMake install data path
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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}) |