From a2da5a2c0b7baeabde5d45d8ea3af8f1d49168ff Mon Sep 17 00:00:00 2001 From: brian khuu Date: Tue, 4 Feb 2025 07:13:38 +1100 Subject: [PATCH] cmake: include folder and common folder is private to llama library #11630 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e1b02e4c0..004be5292 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -29,7 +29,7 @@ add_library(llama unicode-data.cpp ) -target_include_directories(llama PUBLIC . ../include ../common) +target_include_directories(llama PRIVATE . ../include ../common) target_compile_features (llama PUBLIC cxx_std_17) # don't bump target_link_libraries(llama PUBLIC ggml)