diff -urNp old/CMakeLists.txt new/CMakeLists.txt --- old/CMakeLists.txt 2022-01-31 10:40:07.521527316 +0100 +++ new/CMakeLists.txt 2022-01-31 10:41:00.960876005 +0100 @@ -606,7 +606,7 @@ if(JAS_ENABLE_SHARED) # (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_PREFIX}/lib") # add the automatically determined parts of the RPATH # which point to directories outside the build tree to the install RPATH