From d964aba20ddf82f9f8bfec7928458c27a479486b Mon Sep 17 00:00:00 2001 From: dundargoc Date: Thu, 13 Apr 2023 22:38:45 +0200 Subject: [PATCH] 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. (cherry picked from commit 85baadd3d5ca92a035ee730aaddbe34bb849efd8) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b6ff03d4c..f4194a470d 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")