Skip to content

Commit

Permalink
Fix iconv dependency export in CMake config file
Browse files Browse the repository at this point in the history
(cherry picked from commit 8545614)

# Conflicts:
#	src/CMakeLists.txt
  • Loading branch information
kmilos committed Jan 9, 2025
1 parent af028a1 commit 0e26f60
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 @@ -255,9 +255,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 0e26f60

Please sign in to comment.