Fixed cmake bug with NO_LAPACK=1
This commit is contained in:
parent
f8eba3d548
commit
17ee2237c3
|
@ -27,7 +27,10 @@ if (MSVC)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT NO_LAPACK)
|
if (NOT NO_LAPACK)
|
||||||
enable_language(Fortran)
|
enable_language(Fortran)
|
||||||
|
else()
|
||||||
|
include(CMakeForceCompiler)
|
||||||
|
CMAKE_FORCE_Fortran_COMPILER(gfortran GNU)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT ONLY_CBLAS)
|
if (NOT ONLY_CBLAS)
|
||||||
|
|
Loading…
Reference in New Issue