aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEisuke Kawashima <e.kawaschima+github@gmail.com>2024-12-10 09:10:27 +0900
committerGitHub <noreply@github.com>2024-12-09 16:10:27 -0800
commit1b90f4a9c472e674d707cbc01520423d305f6b17 (patch)
treef7a7f1c914bd9f1dfc3ec776bf332495d1bf7cee /cmake
parent3bb2d027597107a3d7f84ef61507104fd4dc050a (diff)
downloadrneovim-1b90f4a9c472e674d707cbc01520423d305f6b17.tar.gz
rneovim-1b90f4a9c472e674d707cbc01520423d305f6b17.tar.bz2
rneovim-1b90f4a9c472e674d707cbc01520423d305f6b17.zip
build: mark CMake variables advanced #31412
The variables are not marked as advanced, thus they appear in e.g. `ccmake`.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Deps.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Deps.cmake b/cmake/Deps.cmake
index 519826654f..5902ca6970 100644
--- a/cmake/Deps.cmake
+++ b/cmake/Deps.cmake
@@ -19,6 +19,7 @@ if(APPLE)
endif()
find_program(CACHE_PRG NAMES ccache sccache)
+mark_as_advanced(CACHE_PRG)
if(CACHE_PRG)
set(CMAKE_C_COMPILER_LAUNCHER ${CMAKE_COMMAND} -E env CCACHE_SLOPPINESS=pch_defines,time_macros ${CACHE_PRG})
list(APPEND DEPS_CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER_LAUNCHER:STRING=${CMAKE_C_COMPILER_LAUNCHER})
@@ -27,6 +28,7 @@ endif()
# MAKE_PRG
if(UNIX)
find_program(MAKE_PRG NAMES gmake make)
+ mark_as_advanced(MAKE_PRG)
if(NOT MAKE_PRG)
message(FATAL_ERROR "GNU Make is required to build the dependencies.")
else()