Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eigen: explicitly disable Fortran usage
We don't want different packages be created wheter a Fortran compiler is available or not. As Eigen 3.4.0 has no flags to disable the Fortran related code hook into the [CheckLanguge](https://cmake.org/cmake/help/latest/module/CheckLanguage.html) CMake feature. For the variable `CMAKE_<LANG>_COMPILER` the documentation states the following: > If this variable is already set, either explicitly or cached by a previous > call, the check is skipped. We use this to effectively force Eigen to think that there was no Fortan compiler. Fixes the ninja and nmake vs-16-2019 based toolchains.
- Loading branch information