From c910ead4db55bca09764cda71cd24ee5aef9e93b Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 28 Nov 2011 22:10:06 +0200 Subject: [PATCH] Fix CMake install data path --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b714e89..a7805fa 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})