Skip to content

Commit 705b7ec

Browse files
65a65a
and
65a
authored
cmake : install all ggml public headers (#8480)
Co-authored-by: 65a <65a@65a.invalid>
1 parent 0d2c732 commit 705b7ec

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

ggml/CMakeLists.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,19 @@ endif ()
194194
include(GNUInstallDirs)
195195
include(CMakePackageConfigHelpers)
196196

197+
# all public headers
197198
set(GGML_PUBLIC_HEADERS
198199
include/ggml.h
199200
include/ggml-alloc.h
200201
include/ggml-backend.h
201-
"${GGML_HEADERS_CUDA}"
202-
"${GGML_HEADERS_METAL}"
203-
"${GGML_HEADERS_EXTRA}")
202+
include/ggml-blas.h
203+
include/ggml-cuda.h
204+
include/ggml.h
205+
include/ggml-kompute.h
206+
include/ggml-metal.h
207+
include/ggml-rpc.h
208+
include/ggml-sycl.h
209+
include/ggml-vulkan.h)
204210

205211
set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}")
206212
#if (GGML_METAL)

0 commit comments

Comments
 (0)