Re: [CMake] CMake does not find module, though it's in MODULE_PATH

2018-05-07 Thread Andreas Naumann
Dear Florian,   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 set(CMAKE_MODULE_PATH $ENV{CMAKE_MODULE_PATH}) before calling find_package(Eigen3)   But there are other ways, according to

[CMake] CMake does not find module, though it's in MODULE_PATH

2018-05-07 Thread Florian Lindner
Hello, my CMake 3.6.2 complains about not finding FindEigen3.cmake CMake Error at CMakeLists.txt:62 (find_package): By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Eigen3", but CMake did not find one.