Skip to content

Commit

Permalink
Added to CMakeMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Crivella committed Sep 26, 2024
1 parent d49118e commit 7212d55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions easybuild/easyblocks/generic/cmakemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ def configure_step(self, srcdir=None, builddir=None):
# disable CMake user package repository
options['CMAKE_FIND_USE_PACKAGE_REGISTRY'] = 'OFF'

# ensure CMake uses PATH to determine python without prioritizing a virtualenv
# necessary to pick up on the correct python version when `eb` is run from a virtualenv
options['Python3_FIND_VIRTUALENV'] = 'STANDARD'

if not self.cfg.get('allow_system_boost', False):
boost_root = get_software_root('Boost')
if boost_root:
Expand Down

0 comments on commit 7212d55

Please sign in to comment.