Re: [cmake-developers] CMake "find_package" command on a package that is not installed is unexpectedly successful

2019-02-05 Thread Timothy Wrona
Is there an easy way to clean the user package registry (with a CMake command or something similar) instead of manually making edits to the Windows registry? After moving this package around a few times I've realized I have a bunch of junk entries in the user package registry. On Tue, Feb 5,

Re: [cmake-developers] CMake "find_package" command on a package that is not installed is unexpectedly successful

2019-02-05 Thread Timothy Wrona
Thank you! I didn't know it would make a registry entry, that was the missing link! On Tue, Feb 5, 2019 at 2:46 PM Brad King wrote: > On 2/5/19 2:37 PM, Timothy Wrona wrote: > > Can anyone explain to me how "find_package" is able to find the Eigen > libraries > > even though they are just

Re: [cmake-developers] CMake "find_package" command on a package that is not installed is unexpectedly successful

2019-02-05 Thread Brad King via cmake-developers
On 2/5/19 2:37 PM, Timothy Wrona wrote: > Can anyone explain to me how "find_package" is able to find the Eigen > libraries > even though they are just pasted into some arbitrary location that I never > told > the example project about? Eigen uses the CMake package registry feature:

[cmake-developers] CMake "find_package" command on a package that is not installed is unexpectedly successful

2019-02-05 Thread Timothy Wrona
I am working my way through the "CMake Cookbook" by Radovan Bast and Roberto Di Remigio and got to an example that required the Eigen C++ libraries. (chapter-02/recipe-06) I downloaded the ".zip" for the Eigen libraries and unzipped it to an arbitrary location. Then I ran CMake on it (but I did