]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
k-quants : add missing compile definition to CMakeLists (#1748)
authorjohnson442 <redacted>
Thu, 8 Jun 2023 07:02:48 +0000 (08:02 +0100)
committerGitHub <redacted>
Thu, 8 Jun 2023 07:02:48 +0000 (10:02 +0300)
CMakeLists.txt

index 456875f90094fdb1779aa14434ad53bdc3e57ce8..41f5bb7378393ebf3550862cdf14be72e4682425 100644 (file)
@@ -229,6 +229,7 @@ endif()
 
 if (LLAMA_K_QUANTS)
     set(GGML_SOURCES_EXTRA ${GGML_SOURCES_EXTRA} k_quants.c k_quants.h)
+    add_compile_definitions(GGML_USE_K_QUANTS)
 endif()
 
 if (LLAMA_CLBLAST)