Blob Blame History Raw
diff -rupN --no-dereference gmsh-4.8.3-source/CMakeLists.txt gmsh-4.8.3-source-new/CMakeLists.txt
--- gmsh-4.8.3-source/CMakeLists.txt	2021-04-06 12:15:52.303303903 +0200
+++ gmsh-4.8.3-source-new/CMakeLists.txt	2021-04-06 12:15:52.305303903 +0200
@@ -264,7 +264,7 @@ if(ENABLE_RPATH)
   # when building, don't use the install RPATH already (but later on when
   # installing)
   set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
-  set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+  set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_LIBDIR}")
 
   # add the automatically determined parts of the RPATH which point to
   # directories outside the build tree to the install RPATH