Skip to content

Commit 8545614

Browse files
committed
Fix iconv dependency export in CMake config file
1 parent f07ddc6 commit 8545614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,9 @@ endif()
284284
if(Iconv_FOUND AND Iconv_LIBRARIES)
285285
target_link_libraries(exiv2lib PRIVATE Iconv::Iconv)
286286
list(APPEND libs_private_list "iconv")
287-
set(EXV_HAVE_LIBICONV TRUE PARENT_SCOPE)
287+
set(EXV_HAVE_LIBICONV TRUE)
288288
else()
289-
set(EXV_HAVE_LIBICONV FALSE PARENT_SCOPE)
289+
set(EXV_HAVE_LIBICONV FALSE)
290290
endif()
291291

292292
if(EXIV2_ENABLE_INIH)

0 commit comments

Comments
 (0)