diff --git a/easybuild/easyblocks/generic/cmakemake.py b/easybuild/easyblocks/generic/cmakemake.py index acc8a50f3e..a9c04e5dcc 100644 --- a/easybuild/easyblocks/generic/cmakemake.py +++ b/easybuild/easyblocks/generic/cmakemake.py @@ -263,6 +263,10 @@ def configure_step(self, srcdir=None, builddir=None): install_target = os.path.join(install_target, install_target_subdir) options = {'CMAKE_INSTALL_PREFIX': install_target} + if self.cmake_version >= '3.16': + # Avoid some software using a lower log level than the default if this is unset + options['CMAKE_MESSAGE_LOG_LEVEL'] = 'STATUS' + if self.installdir.startswith('/opt') or self.installdir.startswith('/usr'): # https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html localstatedir = os.path.join(self.installdir, 'var')