Skip to content

Commit

Permalink
Removed duplicate library dependencies.
Browse files Browse the repository at this point in the history
Removed link libraries that are automatically included by CMake as
dependencies from other libraries. This avoids the code to be linked
against the same library multiple times, which causes warnings on MacOS.
  • Loading branch information
eichelberg committed Dec 17, 2024
1 parent f4d8777 commit bb650eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcmapps/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ foreach(PROGRAM dcm2img)
endforeach()

# make sure executables are linked to the corresponding libraries
DCMTK_TARGET_LINK_MODULES(dcm2img dcmjpeg dcmjpls dcmimage dcmimgle dcmdata oflog oficonv ofstd)
DCMTK_TARGET_LINK_MODULES(dcm2img dcmjpeg dcmjpls)

0 comments on commit bb650eb

Please sign in to comment.