<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Dear Florian,</div>

<div> </div>

<div>please note, that CMake expects the variable CMAKE_MODULE_PATH not as an environment variable, but as a CMake variable. So, you could do something like</div>

<div>set(CMAKE_MODULE_PATH $ENV{CMAKE_MODULE_PATH})</div>

<div>before calling find_package(Eigen3)</div>

<div> </div>

<div>But there are other ways, according to stackoverflow <a href="https://stackoverflow.com/questions/12249140/find-package-eigen3-for-cmake">https://stackoverflow.com/questions/12249140/find-package-eigen3-for-cmake</a> .</div>

<div> </div>

<div>Regards,</div>

<div>Andreas</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Montag, 07. Mai 2018 um 11:28 Uhr<br/>
<b>Von:</b> "Florian Lindner" <mailinglists@xgm.de><br/>
<b>An:</b> "cmake@cmake.org" <cmake@cmake.org><br/>
<b>Betreff:</b> [CMake] CMake does not find module, though it's in MODULE_PATH</div>

<div name="quoted-content">Hello,<br/>
<br/>
my CMake 3.6.2 complains about not finding FindEigen3.cmake<br/>
<br/>
CMake Error at CMakeLists.txt:62 (find_package):<br/>
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has<br/>
asked CMake to find a package configuration file provided by "Eigen3", but<br/>
CMake did not find one.<br/>
<br/>
Could not find a package configuration file provided by "Eigen3" with any<br/>
of the following names:<br/>
<br/>
Eigen3Config.cmake<br/>
eigen3-config.cmake<br/>
<br/>
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set<br/>
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"<br/>
provides a separate development package or SDK, be sure it has been<br/>
installed.<br/>
<br/>
However, it's clearly there in ls $CMAKE_MODULE_PATH/FindEigen3.cmake<br/>
<br/>
I try to use it like find_package(Eigen3 REQUIRED)<br/>
<br/>
What else could be wrong there?<br/>
<br/>
Thanks!<br/>
<br/>
Florian<br/>
--<br/>
<br/>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br/>
<br/>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br/>
<br/>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br/>
<br/>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br/>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br/>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br/>
<br/>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br/>
<br/>
Follow this link to subscribe/unsubscribe:<br/>
<a href="https://cmake.org/mailman/listinfo/cmake" target="_blank">https://cmake.org/mailman/listinfo/cmake</a></div>
</div>
</div>
</div></div></body></html>