Closed fcollot closed 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).
<package_name>_ROOT
find_package
<package_name>_DIR
Using
<package_name>_ROOT
works better withfind_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).