Add -DSTK_NO_BOOST_STACKTRACE to compile line in trilinos if +stk and on a Mac. (#23625)
This commit is contained in:
parent
8b25bdcf4d
commit
0cc42acbbd
@ -885,6 +885,8 @@ def define_prefix_enable(prefix, cmake_var, spec_var=None):
|
|||||||
|
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
options.append(define('Trilinos_ENABLE_FEI', False))
|
options.append(define('Trilinos_ENABLE_FEI', False))
|
||||||
|
if '+stk' in spec:
|
||||||
|
cxx_flags.extend(['-DSTK_NO_BOOST_STACKTRACE'])
|
||||||
|
|
||||||
if sys.platform == 'darwin' and macos_version() >= Version('10.12'):
|
if sys.platform == 'darwin' and macos_version() >= Version('10.12'):
|
||||||
# use @rpath on Sierra due to limit of dynamic loader
|
# use @rpath on Sierra due to limit of dynamic loader
|
||||||
|
Loading…
Reference in New Issue
Block a user