mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-29 09:43:13 +08:00
add the possiblity to disable Fortran (workaround cmake's bug
This commit is contained in:
parent
2db5888253
commit
92959aa5f3
@ -26,9 +26,10 @@ else(CHOLMOD_FOUND)
|
|||||||
message("CHOLMOD not found, this optional backend won't be tested")
|
message("CHOLMOD not found, this optional backend won't be tested")
|
||||||
endif(CHOLMOD_FOUND)
|
endif(CHOLMOD_FOUND)
|
||||||
|
|
||||||
if(NOT MSVC)
|
option(EIGEN_TEST_NO_FORTRAN "Disable Fortran" OFF)
|
||||||
|
if(NOT MSVC AND NOT EIGEN_TEST_NO_FORTRAN)
|
||||||
enable_language(Fortran OPTIONAL)
|
enable_language(Fortran OPTIONAL)
|
||||||
endif(NOT MSVC)
|
endif(NOT MSVC AND NOT EIGEN_TEST_NO_FORTRAN)
|
||||||
|
|
||||||
find_package(Umfpack)
|
find_package(Umfpack)
|
||||||
if(UMFPACK_FOUND)
|
if(UMFPACK_FOUND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user