summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Kosukhin <skosukhin@gmail.com>2017-12-06 08:07:11 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2017-12-06 08:07:11 +0100
commitbcb1630e39702cd40c08b044903fe7b32b4404f4 (patch)
tree20a408e00093baa117b409aa83033e89b8cc4eca /lib
parent24d60a95c03f2484fff44fc1857fa926e18c647a (diff)
downloadspack-bcb1630e39702cd40c08b044903fe7b32b4404f4.tar.gz
spack-bcb1630e39702cd40c08b044903fe7b32b4404f4.tar.bz2
spack-bcb1630e39702cd40c08b044903fe7b32b4404f4.tar.xz
spack-bcb1630e39702cd40c08b044903fe7b32b4404f4.zip
CMAKE_INSTALL_RPATH is semicolon-separated. (#6577)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/cmake.py b/lib/spack/spack/build_systems/cmake.py
index ca9ec6f803..13d12d97eb 100644
--- a/lib/spack/spack/build_systems/cmake.py
+++ b/lib/spack/spack/build_systems/cmake.py
@@ -144,7 +144,7 @@ class CMakePackage(PackageBase):
# Set up CMake rpath
args.append('-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE')
- rpaths = ':'.join(spack.build_environment.get_rpaths(pkg))
+ rpaths = ';'.join(spack.build_environment.get_rpaths(pkg))
args.append('-DCMAKE_INSTALL_RPATH:STRING={0}'.format(rpaths))
# CMake's find_package() looks in CMAKE_PREFIX_PATH first, help CMake
# to find immediate link dependencies in right places: