Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DCMTK targets if present #1053

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kislinsk
Copy link
Contributor

@kislinsk kislinsk commented Nov 2, 2022

We recently run into trouble with CTK and MITK when we finally switched most of our dependencies from the old file and directory based dependency handling of CMake pre v2.8.12 to the "modern" CMake target-based approach.

CMake cannot handle the same dependency in both modes in parallel, though, which conflicted with CTK and DCMTK. This patch checks if targets are present and then switch to the target-based approach for CTK's DCMTK dependency. Otherwise, keep the old behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant