Skip to content

Commit dd43045

Browse files
committed
Export fmt dependency in CMake config
1 parent 27ad395 commit dd43045

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/exiv2Config.cmake.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ if(NOT @BUILD_SHARED_LIBS@) # if(NOT BUILD_SHARED_LIBS)
2525
if(@EXV_HAVE_LIBICONV@) # if(EXV_HAVE_LIBICONV)
2626
find_dependency(Iconv REQUIRED)
2727
endif()
28+
29+
if(NOT "@HAVE_STD_FORMAT@") # if(NOT HAVE_STD_FORMAT)
30+
find_dependency(fmt REQUIRED)
31+
endif()
2832
endif()
2933

3034
include("${CMAKE_CURRENT_LIST_DIR}/exiv2Export.cmake")

0 commit comments

Comments
 (0)