mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-25 22:34:30 +08:00
now the full blas folder requires a fortran compiler
This commit is contained in:
parent
3976a66889
commit
5a65d7970a
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
project(EigenBlas CXX)
|
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)
|
enable_language(Fortran OPTIONAL)
|
||||||
|
|
||||||
@ -13,6 +13,8 @@ if((NOT DEFINED EIGEN_Fortran_COMPILER_WORKS) OR EIGEN_Fortran_COMPILER_WORKS)
|
|||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_Fortran_COMPILER_WORKS)
|
||||||
|
|
||||||
add_custom_target(blas)
|
add_custom_target(blas)
|
||||||
|
|
||||||
set(EigenBlas_SRCS single.cpp double.cpp complex_single.cpp complex_double.cpp xerbla.cpp
|
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)
|
ARCHIVE DESTINATION lib)
|
||||||
|
|
||||||
|
|
||||||
if(CMAKE_Fortran_COMPILER_WORKS)
|
|
||||||
add_subdirectory(testing)
|
add_subdirectory(testing)
|
||||||
endif(CMAKE_Fortran_COMPILER_WORKS)
|
endif(CMAKE_Fortran_COMPILER_WORKS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user