mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Update installation in CMakeLists.txt
This commit is contained in:
parent
026979e39d
commit
a91eb36277
1 changed files with 5 additions and 3 deletions
|
@ -302,13 +302,15 @@ endif()
|
||||||
#
|
#
|
||||||
|
|
||||||
# Example configuration file
|
# Example configuration file
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../minetest.conf.example" DESTINATION ${EXAMPLE_CONF_DIR})
|
# NOTE: Install is handled elsewhere
|
||||||
|
#install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../minetest.conf.example" DESTINATION ${EXAMPLE_CONF_DIR})
|
||||||
|
|
||||||
if(BUILD_CLIENT)
|
if(BUILD_CLIENT)
|
||||||
install(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
|
install(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
|
||||||
|
|
||||||
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})
|
||||||
|
|
||||||
if(USE_GETTEXT)
|
if(USE_GETTEXT)
|
||||||
foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})
|
foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue