Skip to content

Commit

Permalink
Export more dependencies in CMake config
Browse files Browse the repository at this point in the history
brotli and inih are not included as CMake doesn't ship standard find modules for those
  • Loading branch information
kmilos authored Dec 18, 2024
1 parent d8aedd3 commit 6be2a0e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmake/exiv2Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6be2a0e

Please sign in to comment.