Skip to content

Commit a2f8eb3

Browse files
amazingakaikmilos
authored andcommitted
Add missing find_dependency() calls to exiv2Config.cmake.in
1 parent 4e28dc9 commit a2f8eb3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cmake/exiv2Config.cmake.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ if(NOT @BUILD_SHARED_LIBS@) # if(NOT BUILD_SHARED_LIBS)
88
find_dependency(ZLIB REQUIRED)
99
endif()
1010

11+
if(@EXIV2_ENABLE_BMFF@ AND @EXIV2_ENABLE_BROTLI@) # if(EXIV2_ENABLE_BMFF AND EXIV2_ENABLE_BROTLI)
12+
find_dependency(Brotli REQUIRED)
13+
endif()
14+
1115
if(@EXIV2_ENABLE_WEBREADY@) # if(EXIV2_ENABLE_WEBREADY)
1216
if(@EXIV2_ENABLE_CURL@) # if(EXIV2_ENABLE_CURL)
1317
find_dependency(CURL REQUIRED)
@@ -16,6 +20,8 @@ if(NOT @BUILD_SHARED_LIBS@) # if(NOT BUILD_SHARED_LIBS)
1620

1721
if(@EXIV2_ENABLE_XMP@) # if(EXIV2_ENABLE_XMP)
1822
find_dependency(EXPAT REQUIRED)
23+
elseif(@EXIV2_ENABLE_EXTERNAL_XMP@) # elseif(EXIV2_ENABLE_EXTERNAL_XMP)
24+
find_dependency(XmpSdk REQUIRED)
1925
endif()
2026

2127
if(@EXIV2_ENABLE_NLS@) # if(EXIV2_ENABLE_NLS)
@@ -26,6 +32,10 @@ if(NOT @BUILD_SHARED_LIBS@) # if(NOT BUILD_SHARED_LIBS)
2632
find_dependency(Iconv REQUIRED)
2733
endif()
2834

35+
if(@EXIV2_ENABLE_INIH@) # if(EXIV2_ENABLE_INIH)
36+
find_dependency(inih REQUIRED)
37+
endif()
38+
2939
if(NOT "@EXV_HAVE_STD_FORMAT@") # if(NOT EXV_HAVE_STD_FORMAT)
3040
find_dependency(fmt REQUIRED)
3141
endif()

0 commit comments

Comments
 (0)