summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2017-12-19 08:28:55 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2017-12-19 08:28:55 +0100
commit548c225d458e383e7f032a158812035be3e45454 (patch)
tree71eb07b5efe9590af86248be991fad70c2cd19e5 /lib
parente8de22ce4664fcb6e8a4a45f6345c4e36e670b6f (diff)
downloadspack-548c225d458e383e7f032a158812035be3e45454.tar.gz
spack-548c225d458e383e7f032a158812035be3e45454.tar.bz2
spack-548c225d458e383e7f032a158812035be3e45454.tar.xz
spack-548c225d458e383e7f032a158812035be3e45454.zip
dealii: add GMSH, add CMAKE_FIND_APPBUNDLE to CMakePackage (#6723)
* dealii: add GMSH dependency * CMakePackage: add CMAKE_FIND_APPBUNDLE to prevent picking up binaries from /Applications
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/cmake.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/cmake.py b/lib/spack/spack/build_systems/cmake.py
index 13d12d97eb..4f8162e655 100644
--- a/lib/spack/spack/build_systems/cmake.py
+++ b/lib/spack/spack/build_systems/cmake.py
@@ -140,7 +140,10 @@ class CMakePackage(PackageBase):
]
if platform.mac_ver()[0]:
- args.append('-DCMAKE_FIND_FRAMEWORK:STRING=LAST')
+ args.extend([
+ '-DCMAKE_FIND_FRAMEWORK:STRING=LAST',
+ '-DCMAKE_FIND_APPBUNDLE:STRING=LAST'
+ ])
# Set up CMake rpath
args.append('-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE')