Skip to content

Commit

Permalink
Fix iconv dependency export in CMake config file
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos committed Jan 9, 2025
1 parent f07ddc6 commit b6c91cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ endif()
if(Iconv_FOUND AND Iconv_LIBRARIES)
target_link_libraries(exiv2lib PRIVATE Iconv::Iconv)
list(APPEND libs_private_list "iconv")
set(EXV_HAVE_LIBICONV TRUE PARENT_SCOPE)
set(EXV_HAVE_LIBICONV TRUE)
else()
set(EXV_HAVE_LIBICONV FALSE PARENT_SCOPE)
set(EXV_HAVE_LIBICONV FALSE)
endif()

if(EXIV2_ENABLE_INIH)
Expand Down

0 comments on commit b6c91cb

Please sign in to comment.