diff --git a/cmake/exiv2Config.cmake.in b/cmake/exiv2Config.cmake.in index c9e2eba9b5..56687d977e 100644 --- a/cmake/exiv2Config.cmake.in +++ b/cmake/exiv2Config.cmake.in @@ -7,10 +7,20 @@ if(@EXIV2_ENABLE_PNG@) # if(EXIV2_ENABLE_PNG) find_dependency(ZLIB REQUIRED) endif() +if(@EXIV2_ENABLE_WEBREADY@) # if(EXIV2_ENABLE_WEBREADY) + if(@EXIV2_ENABLE_CURL@) # if(EXIV2_ENABLE_CURL) + find_dependency(CURL REQUIRED) + endif() +endif() + if(@EXIV2_ENABLE_XMP@) # if(EXIV2_ENABLE_XMP) find_dependency(EXPAT REQUIRED) endif() +if(@EXIV2_ENABLE_NLS@) # if(EXIV2_ENABLE_NLS) + find_dependency(Intl REQUIRED) +endif() + include("${CMAKE_CURRENT_LIST_DIR}/exiv2Export.cmake") check_required_components(exiv2)