From: sfan5 Date: Mon, 14 Oct 2019 18:20:37 +0000 (+0200) Subject: Don't install fonts on ENABLE_CLIENT=0 configurations X-Git-Tag: 5.2.0~325 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b7e358703fd6f828423c2e6622c0740669eb1d7a;p=oweals%2Fminetest.git Don't install fonts on ENABLE_CLIENT=0 configurations --- 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")