Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: have checked_find_package accept CONFIG, fix DCMTK (AcademySof…
…twareFoundation#4209) Add another optional flag to our checked_find_package cmake function -- CONFIG means only accept a config for the package, never use a FindBlah.cmake module. (Reminder: this is in contrast to the existing PREFER_CONFIG option, which tries a config first, then if that fails, will try the module, and also different from the default if neither is used, which is to prefer the module over the exported config.) And rig our search for DCMTK to use the new CONFIG option. There is a FindDCMTK.cmake modules that comes with cmake, and for at least some versions of cmake, it seems subtly broken in such a way that actually wrecks our finding of other packages properly. Signed-off-by: Larry Gritz <[email protected]>
- Loading branch information