diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index f2683f3a4f..438ccc41fd 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -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)