From 548c225d458e383e7f032a158812035be3e45454 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 19 Dec 2017 08:28:55 +0100 Subject: 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 --- lib/spack/spack/build_systems/cmake.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') 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') -- cgit v1.2.3-70-g09d2