need to enable C compilation to detect BLAS/LAPACK on CMake 2.8.12

This commit is contained in:
Axel Kohlmeyer 2019-10-17 06:32:35 -04:00
parent 68adc56e93
commit 9a4f208e4e
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ if(BUILD_OMP)
endif()
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(BLAS)
if(NOT LAPACK_FOUND OR NOT BLAS_FOUND)