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 committed Aug 9, 2024
1 parent ee783c9 commit e325756
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 e325756

Please sign in to comment.