summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/eccodes/cmake_install_rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/eccodes/cmake_install_rpath.patch')
-rw-r--r--var/spack/repos/builtin/packages/eccodes/cmake_install_rpath.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/eccodes/cmake_install_rpath.patch b/var/spack/repos/builtin/packages/eccodes/cmake_install_rpath.patch
new file mode 100644
index 0000000000..7e2b250883
--- /dev/null
+++ b/var/spack/repos/builtin/packages/eccodes/cmake_install_rpath.patch
@@ -0,0 +1,11 @@
+--- a/cmake/ecbuild_append_to_rpath.cmake
++++ b/cmake/ecbuild_append_to_rpath.cmake
+@@ -31,7 +31,7 @@ function( _path_append var path )
+ else()
+ list( FIND ${var} ${path} _found )
+ if( _found EQUAL "-1" )
+- set( ${var} "${${var}}:${path}" PARENT_SCOPE )
++ set( ${var} "${${var}};${path}" PARENT_SCOPE )
+ endif()
+ endif()
+ endfunction()