From: 65a Date: Thu, 18 Jul 2024 14:47:12 +0000 (-0700) Subject: cmake : install all ggml public headers (llama/8480) X-Git-Tag: upstream/0.0.1642~510 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=99fa488880790a29543adce18e6082cc0f72a760;p=pkg%2Fggml%2Fsources%2Fggml cmake : install all ggml public headers (llama/8480) Co-authored-by: 65a --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 25724973..1768a508 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)