Added Support for NOX Package to Trilinos Spackage (#5366)

Added support for building NOX package to Trilinis Spackage
This commit is contained in:
Robert Pavel
2017-09-14 17:28:56 -06:00
committed by Christoph Junghans
parent 78894645eb
commit ead1982ede

View File

@@ -153,6 +153,8 @@ class Trilinos(CMakePackage):
description='Enable ForTrilinos')
variant('openmp', default=False,
description='Enable OpenMP')
variant('nox', default=False,
description='Enable NOX')
resource(name='dtk',
git='https://github.com/ornl-cees/DataTransferKit',
@@ -301,6 +303,8 @@ def cmake_args(self):
'ON' if '+teuchos' in spec else 'OFF'),
'-DTrilinos_ENABLE_Anasazi:BOOL=%s' % (
'ON' if '+anasazi' in spec else 'OFF'),
'-DTrilinos_ENABLE_NOX:BOOL=%s' % (
'ON' if '+nox' in spec else 'OFF'),
])
if '+xsdkflags' in spec: