cmake : install all ggml public headers (llama/8480)
Co-authored-by: 65a <65a@65a.invalid>
This commit is contained in:
parent
8923bb4292
commit
fb6a835938
@ -200,13 +200,19 @@ endif ()
|
|||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
include(CMakePackageConfigHelpers)
|
include(CMakePackageConfigHelpers)
|
||||||
|
|
||||||
|
# all public headers
|
||||||
set(GGML_PUBLIC_HEADERS
|
set(GGML_PUBLIC_HEADERS
|
||||||
include/ggml.h
|
include/ggml.h
|
||||||
include/ggml-alloc.h
|
include/ggml-alloc.h
|
||||||
include/ggml-backend.h
|
include/ggml-backend.h
|
||||||
"${GGML_HEADERS_CUDA}"
|
include/ggml-blas.h
|
||||||
"${GGML_HEADERS_METAL}"
|
include/ggml-cuda.h
|
||||||
"${GGML_HEADERS_EXTRA}")
|
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}")
|
set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}")
|
||||||
#if (GGML_METAL)
|
#if (GGML_METAL)
|
||||||
|
Loading…
Reference in New Issue
Block a user