k-quants : add missing compile definition to CMakeLists (#1748)

This commit is contained in:
johnson442 2023-06-08 08:02:48 +01:00 committed by GitHub
parent 5c64a0952e
commit 0035858273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,6 +229,7 @@ endif()
if (LLAMA_K_QUANTS) if (LLAMA_K_QUANTS)
set(GGML_SOURCES_EXTRA ${GGML_SOURCES_EXTRA} k_quants.c k_quants.h) set(GGML_SOURCES_EXTRA ${GGML_SOURCES_EXTRA} k_quants.c k_quants.h)
add_compile_definitions(GGML_USE_K_QUANTS)
endif() endif()
if (LLAMA_CLBLAST) if (LLAMA_CLBLAST)