diff --git a/SoundTouchConfig.cmake.in b/SoundTouchConfig.cmake.in index 0709ab8..c0ab624 100644 --- a/SoundTouchConfig.cmake.in +++ b/SoundTouchConfig.cmake.in @@ -8,7 +8,7 @@ get_target_property(SoundTouch_LOCATION SoundTouch::SoundTouch LOCATION) message(STATUS "Found SoundTouch: ${SoundTouch_LOCATION}") if(@SOUNDTOUCH_DLL@) - check_require_components(SoundTouchDLL) + check_required_components(SoundTouchDLL) get_target_property(SoundTouchDLL_LOCATION SoundTouch::SoundTouchDLL LOCATION) message(STATUS "Found SoundTouchDLL: ${SoundTouchDLL_LOCATION}") endif()