aboutsummaryrefslogtreecommitdiffhomepage
path: root/lapack
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-02-13 09:21:13 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-02-13 09:21:13 +0100
commit14422decc2583e556352408983f4f8fda3054c70 (patch)
tree8adc0aada1594abc903bfe507eacb4ac380032f2 /lapack
parent7ea6ef89693b0d70db29ccad1a3cc7771195e318 (diff)
Fix Fortran compiler detection
Diffstat (limited to 'lapack')
-rw-r--r--lapack/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/lapack/CMakeLists.txt b/lapack/CMakeLists.txt
index 7e7444326..9883d4c72 100644
--- a/lapack/CMakeLists.txt
+++ b/lapack/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(lapack)