forked from AcademySoftwareFoundation/OpenImageIO
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add another optional flag to our checked_find_packge cmake function -- CONFIG means only accept a config for the package, never use a FindBlah.cmake module. (Reminder: this is in contrast to the PREFER_CONFIG, 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
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters