Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forbidding find_package() to search for some packages in Windows' reg…
…istry On Windows, when configuring "glog" or "gflags", a path to <package>-config.cmake is stored under the form of a registry key (HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\<PackageName>). A a consequence, when deploying/installing another version of antares-deps, supposed to be completely independent, an already compiled package ("glog" or "gflags") is found by the find_package(<PackageName>) in the Windows registry. As we can't make packages "glog" or "gflags" not to store paths in the Windows' registry, we tell find_package(<PackageName>) not to search in registry, by using NO_CMAKE_PACKAGE_REGISTRY option.
- Loading branch information