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 mergify[bot] committed Aug 16, 2024
1 parent c9a668c commit 0c6df96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,19 @@ if( Iconv_FOUND AND Iconv_LIBRARIES )
list(APPEND libs_private_list "iconv")
endif()

<<<<<<< HEAD
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 PRIVATE inih::inireader )
=======
if(EXIV2_ENABLE_INIH)
target_link_libraries(exiv2lib_int PRIVATE inih::inireader)
target_link_libraries(exiv2lib_int PRIVATE inih::libinih)
target_link_libraries(exiv2lib PRIVATE inih::inireader)
target_link_libraries(exiv2lib PRIVATE inih::libinih)
>>>>>>> 75c12fb54 (libINIReader depends on libinih, the order is important when these libraries are static libraries)
list(APPEND requires_private_list "INIReader")
endif()

Expand Down

0 comments on commit 0c6df96

Please sign in to comment.