1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Fix CMake install data path

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

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