]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
cmake : install all ggml public headers (llama/8480)
author65a <redacted>
Thu, 18 Jul 2024 14:47:12 +0000 (07:47 -0700)
committerGeorgi Gerganov <redacted>
Thu, 8 Aug 2024 19:48:46 +0000 (22:48 +0300)
Co-authored-by: 65a <redacted>
ggml/CMakeLists.txt

index 257249736a0311d5b3288907a5ce6dd5833a4742..1768a508bb9f68e053afde0d2183182f59643fa0 100644 (file)
@@ -200,13 +200,19 @@ endif ()
 include(GNUInstallDirs)
 include(CMakePackageConfigHelpers)
 
+# all public headers
 set(GGML_PUBLIC_HEADERS
     include/ggml.h
     include/ggml-alloc.h
     include/ggml-backend.h
-    "${GGML_HEADERS_CUDA}"
-    "${GGML_HEADERS_METAL}"
-    "${GGML_HEADERS_EXTRA}")
+    include/ggml-blas.h
+    include/ggml-cuda.h
+    include/ggml.h
+    include/ggml-kompute.h
+    include/ggml-metal.h
+    include/ggml-rpc.h
+    include/ggml-sycl.h
+    include/ggml-vulkan.h)
 
 set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}")
 #if (GGML_METAL)