diff --git a/cmake/modules/Findrubberband.cmake b/cmake/modules/Findrubberband.cmake index 66ea12423019..fd0ffa8fdda6 100644 --- a/cmake/modules/Findrubberband.cmake +++ b/cmake/modules/Findrubberband.cmake @@ -99,10 +99,9 @@ if(rubberband_FOUND) endif() find_package(Sleef) if (Sleef_FOUND) - find_library(sleefdft_path sleefdft REQUIRED) set_property(TARGET rubberband::rubberband APPEND PROPERTY INTERFACE_LINK_LIBRARIES Sleef::sleef - ${sleefdft_path} + Sleef::sleefdft ) endif() endif()