diff --git a/CMakeLists.txt b/CMakeLists.txt
index c6e9035b633320d2136cc1ac4375b6971866a3d7..9f08ac007ae666aaa38bf2a5139d68c40b44d0cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -291,8 +291,8 @@ if(ENABLE_BLAS_LAPACK)
           set(GENERIC_LIBS_REQUIRED lapack blas pthread)
           find_all_libraries(LAPACK_LIBRARIES GENERIC_LIBS_REQUIRED "" "")
           if(LAPACK_LIBRARIES)
-            set_config_option(HAVE_BLAS "Blas")
-            set_config_option(HAVE_LAPACK "Lapack")
+            set_config_option(HAVE_BLAS "Blas(Generic)")
+            set_config_option(HAVE_LAPACK "Lapack(Generic)")
             find_library(GFORTRAN_LIB gfortran)
             if(GFORTRAN_LIB)
               list(APPEND LAPACK_LIBRARIES ${GFORTRAN_LIB})