projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8eba3d
)
Fixed cmake bug with NO_LAPACK=1
author
Zhang Xianyi
<traits.zhang@gmail.com>
Wed, 19 Aug 2015 03:43:42 +0000
(22:43 -0500)
committer
Zhang Xianyi
<traits.zhang@gmail.com>
Wed, 19 Aug 2015 03:43:42 +0000
(22:43 -0500)
cmake/f_check.cmake
patch
|
blob
|
history
diff --git
a/cmake/f_check.cmake
b/cmake/f_check.cmake
index
e189b68
..
e8fe4bf
100644
(file)
--- a/
cmake/f_check.cmake
+++ b/
cmake/f_check.cmake
@@
-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)