aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-11-22 19:07:29 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-11-22 19:07:29 +0100
commit5a65d7970a8b4df86a6f5a2759a69a01df8f144d (patch)
tree5a92ebeb762a6e5c36dd2d3adc146d2bb0f8983b /blas
parent3976a66889e4d3519eb64f9edb428e628047ccfb (diff)
now the full blas folder requires a fortran compiler
Diffstat (limited to 'blas')
-rw-r--r--blas/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/blas/CMakeLists.txt b/blas/CMakeLists.txt
index 78b5f496c..61844b67c 100644
--- a/blas/CMakeLists.txt
+++ b/blas/CMakeLists.txt
@@ -1,7 +1,7 @@
project(EigenBlas CXX)
-if((NOT DEFINED EIGEN_Fortran_COMPILER_WORKS) OR EIGEN_Fortran_COMPILER_WORKS)
+if( ( NOT DEFINED EIGEN_Fortran_COMPILER_WORKS ) OR EIGEN_Fortran_COMPILER_WORKS)
enable_language(Fortran OPTIONAL)
@@ -13,6 +13,8 @@ if((NOT DEFINED EIGEN_Fortran_COMPILER_WORKS) OR EIGEN_Fortran_COMPILER_WORKS)
endif()
+if(CMAKE_Fortran_COMPILER_WORKS)
+
add_custom_target(blas)
set(EigenBlas_SRCS single.cpp double.cpp complex_single.cpp complex_double.cpp xerbla.cpp
@@ -36,6 +38,5 @@ install(TARGETS eigen_blas
ARCHIVE DESTINATION lib)
-if(CMAKE_Fortran_COMPILER_WORKS)
add_subdirectory(testing)
endif(CMAKE_Fortran_COMPILER_WORKS)