Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle FindEigen3 module's differing definitions (#370)
The `FindEigen3.cmake` CMake module sets `EIGEN3_INCLUDE_DIR` instead of `EIGEN3_INCLUDE_DIRS`. At the moment, Ubuntu only includes the `Eigen3Config.cmake` config, while Fedora includes both files. CMake appears to give precedence to the module over the config, so the config never gets processed. Alternatively, we could pass `NO_MODULE` to the `find_package` call, but this would fail on systems that ONLY have the module, though I'm not aware of any such distributions.
- Loading branch information