Skip to content

Commit

Permalink
Proper iconv fix
Browse files Browse the repository at this point in the history
  • Loading branch information
malaterre committed Sep 26, 2022
1 parent a5b457c commit ad090de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/MediaStorageAndFileFormat/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,9 @@ endif()
if(GDCM_USE_SYSTEM_JSON)
target_link_libraries(gdcmMSFF LINK_PRIVATE ${JSON_LIBRARIES})
endif()
if(APPLE)
target_link_libraries(gdcmMSFF iconv)
if(UNIX)
find_package(Iconv)
target_link_libraries(gdcmMSFF LINK_PRIVATE ${Iconv_LIBRARIES})
endif()
# handling of static lib within shared is a mess:
#target_link_libraries(gdcmMSFF gdcmrle)
Expand Down

0 comments on commit ad090de

Please sign in to comment.