From bb650ebfe51168653050d83814aca6e75e754ead Mon Sep 17 00:00:00 2001 From: Marco Eichelberg Date: Tue, 17 Dec 2024 13:36:03 +0100 Subject: [PATCH] Removed duplicate library dependencies. 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. --- dcmapps/apps/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcmapps/apps/CMakeLists.txt b/dcmapps/apps/CMakeLists.txt index 88b1ee339..249f20825 100644 --- a/dcmapps/apps/CMakeLists.txt +++ b/dcmapps/apps/CMakeLists.txt @@ -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)