Skip to content

Commit

Permalink
libINIReader depends on libinih, the order is important when these li…
Browse files Browse the repository at this point in the history
…braries are static libraries
  • Loading branch information
leleliu008 authored and kmilos committed Aug 16, 2024
1 parent 5605379 commit 75c12fb
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 @@ -280,10 +280,10 @@ if(Iconv_FOUND AND Iconv_LIBRARIES)
endif()

if(EXIV2_ENABLE_INIH)
target_link_libraries(exiv2lib_int PRIVATE inih::libinih)
target_link_libraries(exiv2lib_int PRIVATE inih::inireader)
target_link_libraries(exiv2lib PRIVATE inih::libinih)
target_link_libraries(exiv2lib_int PRIVATE inih::libinih)
target_link_libraries(exiv2lib PRIVATE inih::inireader)
target_link_libraries(exiv2lib PRIVATE inih::libinih)
list(APPEND requires_private_list "INIReader")
endif()

Expand Down

0 comments on commit 75c12fb

Please sign in to comment.