<div dir="ltr">Thank you! I didn't know it would make a registry entry, that was the missing link!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 5, 2019 at 2:46 PM Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/5/19 2:37 PM, Timothy Wrona wrote:<br>
> Can anyone explain to me how "find_package" is able to find the Eigen libraries<br>
> even though they are just pasted into some arbitrary location that I never told<br>
> the example project about?<br>
<br>
Eigen uses the CMake package registry feature:<br>
<br>
<a href="https://bitbucket.org/eigen/eigen/src/a3be57987f/CMakeLists.txt?at=default&fileviewer=file-view-default#CMakeLists.txt-602:604" rel="noreferrer" target="_blank">https://bitbucket.org/eigen/eigen/src/a3be57987f/CMakeLists.txt?at=default&fileviewer=file-view-default#CMakeLists.txt-602:604</a><br>
<br>
See docs here:<br>
<br>
<a href="https://cmake.org/cmake/help/v3.13/manual/cmake-packages.7.html#package-registry" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v3.13/manual/cmake-packages.7.html#package-registry</a><br>
<br>
and step 6 of the find_package search procedure:<br>
<br>
<a href="https://cmake.org/cmake/help/v3.13/command/find_package.html#search-procedure" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v3.13/command/find_package.html#search-procedure</a><br>
<br>
-Brad<br>
</blockquote></div>