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

(cherry picked from commit 75c12fb)

# Conflicts:
#	src/CMakeLists.txt
  • Loading branch information
leleliu008 authored and kmilos committed Aug 27, 2024
1 parent 9c9066d commit adb7f34
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 @@ -258,10 +258,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 adb7f34

Please sign in to comment.