config_args does NOT apply to CMakePackage. (#7917)

This commit is contained in:
健美猫 2018-04-27 02:03:45 +08:00 committed by Adam J. Stewart
parent 6a99ca362f
commit 9dad069e89

View file

@ -787,7 +787,7 @@ for the ``mylib`` package (ellipses for brevity):
depends_on('cmake', type='build')
depends_on('doxygen', type='build')
def configure_args(self):
def cmake_args(self):
spec = self.spec
return [
'-DUSE_EVERYTRACE=%s' % ('YES' if '+everytrace' in spec else 'NO'),