forked from lijiext/lammps
need to enable C compilation to detect BLAS/LAPACK on CMake 2.8.12
This commit is contained in:
parent
68adc56e93
commit
9a4f208e4e
|
@ -248,6 +248,7 @@ if(BUILD_OMP)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(PKG_MSCG OR PKG_USER-ATC OR PKG_USER-AWPMD OR PKG_USER-QUIP OR PKG_LATTE)
|
if(PKG_MSCG OR PKG_USER-ATC OR PKG_USER-AWPMD OR PKG_USER-QUIP OR PKG_LATTE)
|
||||||
|
enable_language(C)
|
||||||
find_package(LAPACK)
|
find_package(LAPACK)
|
||||||
find_package(BLAS)
|
find_package(BLAS)
|
||||||
if(NOT LAPACK_FOUND OR NOT BLAS_FOUND)
|
if(NOT LAPACK_FOUND OR NOT BLAS_FOUND)
|
||||||
|
|
Loading…
Reference in New Issue