diff -rupN --no-dereference libwebp-1.4.0/CMakeLists.txt libwebp-1.4.0-new/CMakeLists.txt --- libwebp-1.4.0/CMakeLists.txt 2024-04-14 15:30:20.089730360 +0200 +++ libwebp-1.4.0-new/CMakeLists.txt 2024-04-14 15:30:20.093730386 +0200 @@ -114,11 +114,11 @@ endif() include(cmake/deps.cmake) include(GNUInstallDirs) -if(BUILD_SHARED_LIBS AND NOT DEFINED CMAKE_INSTALL_RPATH) - # Set the rpath to match autoconf/libtool behavior. Note this must be set - # before target creation. - set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") -endif() +# if(BUILD_SHARED_LIBS AND NOT DEFINED CMAKE_INSTALL_RPATH) +# # Set the rpath to match autoconf/libtool behavior. Note this must be set +# # before target creation. +# set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") +# endif() # ############################################################################## # Options.