From: Yuri Khrustalev Date: Sat, 2 Nov 2024 09:09:12 +0000 (-0400) Subject: cmake : make it possible linking ggml as external lib (#1003) X-Git-Tag: upstream/0.0.1642~259 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=a099cb514d6687e436a5a423d1fb0448be0feb20;p=pkg%2Fggml%2Fsources%2Fggml cmake : make it possible linking ggml as external lib (#1003) --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index aa405e4d..729f61d7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1391,7 +1391,7 @@ if (EMSCRIPTEN) endif() target_compile_definitions(ggml PUBLIC ${GGML_CDEF_PUBLIC}) -target_include_directories(ggml PUBLIC ../include) +target_include_directories(ggml PUBLIC $ $) target_include_directories(ggml PRIVATE . ${GGML_EXTRA_INCLUDES}) target_link_directories (ggml PRIVATE ${GGML_EXTRA_LIBDIRS}) target_compile_features (ggml PRIVATE c_std_11) # don't bump