aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-04-14 19:19:49 +0200
committerGitHub <noreply@github.com>2023-04-14 19:19:49 +0200
commitc2e47e7bec0394a2cc12c8f83e3e5950ad99d1b4 (patch)
tree5de99f2d745a6dde5c9746c8bd84ac16e2579d35
parentae9654dd7336e263e18ca7da4a40a25ec684002d (diff)
downloadrneovim-c2e47e7bec0394a2cc12c8f83e3e5950ad99d1b4.tar.gz
rneovim-c2e47e7bec0394a2cc12c8f83e3e5950ad99d1b4.tar.bz2
rneovim-c2e47e7bec0394a2cc12c8f83e3e5950ad99d1b4.zip
build: don't print installed files locally
It takes a significant amount of time to install neovim, and doubly so on Windows, due to the sheer amount of files neovim ships with. On CI this information may be important though, so we enable it if the CI_ENABLE option is set to ON.
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dad3815373..f3111464ea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,6 +35,10 @@ if(CCACHE_PRG)
set(CMAKE_C_COMPILER_LAUNCHER ${CMAKE_COMMAND} -E env CCACHE_SLOPPINESS=pch_defines,time_macros ${CCACHE_PRG})
endif()
+if(NOT CI_BUILD)
+ set(CMAKE_INSTALL_MESSAGE NEVER)
+endif()
+
# Prefer our bundled versions of dependencies.
if(DEFINED ENV{DEPS_BUILD_DIR})
set(DEPS_PREFIX "$ENV{DEPS_BUILD_DIR}/usr" CACHE PATH "Path prefix for finding dependencies")