Fix CMake install data path

This commit is contained in:
Perttu Ahola 2011-11-28 22:10:06 +02:00
parent fe64f2b673
commit c910ead4db

@ -310,7 +310,9 @@ if(BUILD_CLIENT)
#file(GLOB images "${CMAKE_CURRENT_SOURCE_DIR}/../data/textures/*.png") #file(GLOB images "${CMAKE_CURRENT_SOURCE_DIR}/../data/textures/*.png")
#install(FILES ${images} DESTINATION ${DATADIR}/textures) #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) if(USE_GETTEXT)
foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES}) foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})