Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Crivella committed Oct 15, 2024
1 parent 28df069 commit 52dd793
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions easybuild/easyblocks/generic/cmakemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ def get_config_opts(self, cache_exists=False):

return options


def configure_step(self, srcdir=None, builddir=None):
"""Configure build using cmake"""

Expand Down Expand Up @@ -348,7 +347,7 @@ def configure_step(self, srcdir=None, builddir=None):
if '-DBUILD_SHARED_LIBS=' in self.cfg['configopts']:
print_warning('Ignoring BUILD_SHARED_LIBS is set in configopts because build_shared_libs is set')
self.cfg.update('configopts', '-DBUILD_SHARED_LIBS=%s' % ('ON' if build_shared_libs else 'OFF'))

# If the cache does not exist CMake reads the environment variables
cache_exists = os.path.exists('CMakeCache.txt')

Expand Down

0 comments on commit 52dd793

Please sign in to comment.