Browse Source

Merge pull request #11659 from Michael-Gardner/HPCC-17714

HPCC-17714 Set CMAKE_INSTALL_MESSAGE to LAZY to squelch up-to-date output when doing make install

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 years ago
parent
commit
6c890bc9ad
1 changed files with 4 additions and 0 deletions
  1. 4 0
      CMakeLists.txt

+ 4 - 0
CMakeLists.txt

@@ -133,6 +133,10 @@ endif()
 
 
 include(${HPCC_SOURCE_DIR}/cmake_modules/optionDefaults.cmake)
 include(${HPCC_SOURCE_DIR}/cmake_modules/optionDefaults.cmake)
 
 
+if(NOT DESTDIR STREQUAL "")
+    set(CMAKE_INSTALL_MESSAGE LAZY)
+endif()
+
 if ( REMBED AND (NOT INCLUDE_PLUGINS) )
 if ( REMBED AND (NOT INCLUDE_PLUGINS) )
   # various components that are not needed if only making the R plugin
   # various components that are not needed if only making the R plugin
   SET(USE_LIBARCHIVE 0)
   SET(USE_LIBARCHIVE 0)