5 Commits (169b6364a84b64c83348c5c4de7016e5ea1f4507)

Author SHA1 Message Date
Pino Toscano 130064dc76 cmake: restore a "exiv2lib" target
Commit a8c3455e5c and
commit eb05551ed2 changed the target of
the exiv2 library ("exiv2lib"), exporting it in the "Exiv2" namespace,
so making it usable as "Exiv2::exiv2lib" instead. An ALIAS to "exiv2lib"
was added, however cmake does not install or export ALIAS targets [1].

Hence, restore compatibility with the existing cmake users of exiv2:
manually create an ALIAS target in the cmake config files after all the
targets are loaded and checked.

[1] https://cmake.org/cmake/help/latest/command/add_library.html
2 years ago
Ryan Friedman 4dfb78131c Switch back to exporting dep on EXPAT because it's needed for static libs
Signed-off-by: Ryan Friedman <ryan.friedman+github@avinc.com>
2 years ago
Ryan Friedman 368eab01db Downgrade required CMake version to consume exiv2
Signed-off-by: Ryan Friedman <ryan.friedman+github@avinc.com>
2 years ago
Ryan Friedman 5e1cf4dad9 Make ZLIB depend on EXIV2_ENABLE_PNG
Signed-off-by: Ryan Friedman <ryan.friedman+github@avinc.com>
2 years ago
Ryan Friedman a8c3455e5c Add a cmake config file export
Signed-off-by: Ryan Friedman <ryan.friedman+github@avinc.com>
2 years ago