diff options
Diffstat (limited to 'blas')
-rw-r--r-- | blas/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/blas/CMakeLists.txt b/blas/CMakeLists.txt index c35a2fdbe..a9bc05137 100644 --- a/blas/CMakeLists.txt +++ b/blas/CMakeLists.txt @@ -7,6 +7,9 @@ workaround_9220(Fortran EIGEN_Fortran_COMPILER_WORKS) if(EIGEN_Fortran_COMPILER_WORKS) enable_language(Fortran OPTIONAL) + if(NOT CMAKE_Fortran_COMPILER) + set(EIGEN_Fortran_COMPILER_WORKS OFF) + endif() endif() add_custom_target(blas) |