Browse Source

Fixed cmake bug with NO_LAPACK=1

tags/v0.2.15^2
Zhang Xianyi 10 years ago
parent
commit
17ee2237c3
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      cmake/f_check.cmake

+ 4
- 1
cmake/f_check.cmake View File

@@ -27,7 +27,10 @@ if (MSVC)
endif ()

if (NOT NO_LAPACK)
enable_language(Fortran)
enable_language(Fortran)
else()
include(CMakeForceCompiler)
CMAKE_FORCE_Fortran_COMPILER(gfortran GNU)
endif()

if (NOT ONLY_CBLAS)


Loading…
Cancel
Save