diff options
author | Dr. Christian Tacke <58549698+ChristianTackeGSI@users.noreply.github.com> | 2020-08-28 23:13:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 16:13:53 -0500 |
commit | 65fda72d7c8bf6107ebf4828338b45fbe3a6181e (patch) | |
tree | a8b49bdb376a84f64bbd07268ac972dde5e8e91f /var | |
parent | 9525c530d54abb44fa6eaab38579ab47e4c9936e (diff) | |
download | spack-65fda72d7c8bf6107ebf4828338b45fbe3a6181e.tar.gz spack-65fda72d7c8bf6107ebf4828338b45fbe3a6181e.tar.bz2 spack-65fda72d7c8bf6107ebf4828338b45fbe3a6181e.tar.xz spack-65fda72d7c8bf6107ebf4828338b45fbe3a6181e.zip |
davix: Improve shared library building on macOS (#18352)
Add -DCMAKE_MACOSX_RPATH=ON to cmake.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/davix/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/davix/package.py b/var/spack/repos/builtin/packages/davix/package.py index 4062fb4dae..e1845d549a 100644 --- a/var/spack/repos/builtin/packages/davix/package.py +++ b/var/spack/repos/builtin/packages/davix/package.py @@ -33,4 +33,6 @@ class Davix(CMakePackage): def cmake_args(self): cmake_args = ['-DCMAKE_CXX_STANDARD={0}'.format( self.spec.variants['cxxstd'].value)] + if 'darwin' in self.spec.architecture: + cmake_args.append('-DCMAKE_MACOSX_RPATH=ON') return cmake_args |