diff -rupN --no-dereference libwebp-1.3.1/CMakeLists.txt libwebp-1.3.1-new/CMakeLists.txt --- libwebp-1.3.1/CMakeLists.txt 2023-06-30 13:58:57.318933479 +0200 +++ libwebp-1.3.1-new/CMakeLists.txt 2023-06-30 13:58:57.323933405 +0200 @@ -112,11 +112,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.