forked from Mirrorlandia_minetest/minetest
Fix CMake install data path
This commit is contained in:
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})
|
||||||
|
Loading…
Reference in New Issue
Block a user