medInria / medInria-public

Open-source part of the medInria software
https://med.inria.fr/
BSD 4-Clause "Original" or "Old" License
92 stars 72 forks source link

Switch to <package_name>_ROOT variables #1212

Closed fcollot closed 7 months ago

fcollot commented 7 months ago

Using <package_name>_ROOT works better with find_package. The <package_name>_DIR variable is expected to point to the directory containing the package's cmake config file (which is not always located at the root of a project).