diff --git a/cmake/exiv2Config.cmake.in b/cmake/exiv2Config.cmake.in index 63c9362ff7..c9e2eba9b5 100644 --- a/cmake/exiv2Config.cmake.in +++ b/cmake/exiv2Config.cmake.in @@ -14,3 +14,6 @@ endif() include("${CMAKE_CURRENT_LIST_DIR}/exiv2Export.cmake") check_required_components(exiv2) + +# compatibility with non-aliased users +add_library(exiv2lib ALIAS Exiv2::exiv2lib)