summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-10-14 20:20:37 +0200
committersfan5 <sfan5@live.de>2019-10-14 21:24:23 +0200
commitb7e358703fd6f828423c2e6622c0740669eb1d7a (patch)
tree15ceb497c3d06fe828cbe833afbc62bf913fb856 /CMakeLists.txt
parent2dd4f8d3fe666eb1d86050e0f5efa44c848b1a4a (diff)
downloadminetest-b7e358703fd6f828423c2e6622c0740669eb1d7a.tar.gz
minetest-b7e358703fd6f828423c2e6622c0740669eb1d7a.tar.bz2
minetest-b7e358703fd6f828423c2e6622c0740669eb1d7a.zip
Don't install fonts on ENABLE_CLIENT=0 configurations
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5df003144..3a5457018 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,14 +172,13 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/games/minimal" DESTINATION "${SHA
if(BUILD_CLIENT)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/client/shaders" DESTINATION "${SHAREDIR}/client")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/textures/base/pack" DESTINATION "${SHAREDIR}/textures/base")
+ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/fonts" DESTINATION "${SHAREDIR}")
if(RUN_IN_PLACE)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/clientmods" DESTINATION "${SHAREDIR}")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/client/serverlist" DESTINATION "${SHAREDIR}/client")
endif()
endif()
-install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/fonts" DESTINATION "${SHAREDIR}")
-
install(FILES "README.md" DESTINATION "${DOCDIR}" COMPONENT "Docs")
install(FILES "doc/lua_api.txt" DESTINATION "${DOCDIR}" COMPONENT "Docs")
install(FILES "doc/menu_lua_api.txt" DESTINATION "${DOCDIR}" COMPONENT "Docs")