Fix CMake install data path

master
Perttu Ahola 2011-11-28 22:10:06 +02:00
parent fe64f2b673
commit c910ead4db
1 changed files with 3 additions and 1 deletions

View File

@ -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})