zeek/auxil/vcpkg/ports/ggml/0001-fix-cmakelists.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

28 lines
778 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -202,7 +202,7 @@ option(GGML_BUILD_EXAMPLES "ggml: build examples" ${GGML_STANDALONE})
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED true)
-set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED true)
set(THREADS_PREFER_PTHREAD_FLAG ON)
@@ -238,6 +238,7 @@ include(CMakePackageConfigHelpers)
# all public headers
set(GGML_PUBLIC_HEADERS
include/ggml.h
+ include/ggml-cpp.h
include/ggml-cpu.h
include/ggml-alloc.h
include/ggml-backend.h
@@ -245,6 +246,7 @@ set(GGML_PUBLIC_HEADERS
include/ggml-cann.h
include/ggml-cuda.h
include/ggml-kompute.h
+ include/ggml-opencl.h
include/ggml-opt.h
include/ggml-metal.h
include/ggml-rpc.h