Using self.prefix in Trilinos to avoid global name prefix undefined bug (#7478)

* Using self.prefix in Trilinos to avoid global name prefix undefined bug during module refreshing.

* Fixing flake8 errors.
This commit is contained in:
Jon Rood 2018-03-21 15:52:08 -06:00 committed by Adam J. Stewart
parent f59a447f71
commit de52c175de

View file

@ -610,7 +610,8 @@ def cmake_args(self):
# use @rpath on Sierra due to limit of dynamic loader
options.append('-DCMAKE_MACOSX_RPATH=ON')
else:
options.append('-DCMAKE_INSTALL_NAME_DIR:PATH=%s' % prefix.lib)
options.append('-DCMAKE_INSTALL_NAME_DIR:PATH=%s' %
self.prefix.lib)
if spec.satisfies('%intel') and spec.satisfies('@12.6.2'):
# Panzer uses some std:chrono that is not recognized by Intel