cmake : do not include ./src as public for libllama (#13062)

* cmake : do not include ./src as public for libllama

ggml-ci

* cmake : rework tests

ggml-ci

* llguidance : remove unicode include

ggml-ci

* cmake : make c++17 private

ggml-ci
This commit is contained in:
Georgi Gerganov 2025-04-24 16:00:10 +03:00 committed by GitHub
parent 572b3141d3
commit 13b4548877
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 64 additions and 69 deletions

View file

@ -32,8 +32,9 @@ add_library(llama
unicode.h
)
target_include_directories(llama PUBLIC . ../include)
target_compile_features (llama PUBLIC cxx_std_17) # don't bump
target_include_directories(llama PRIVATE .)
target_include_directories(llama PUBLIC ../include)
target_compile_features (llama PRIVATE cxx_std_17) # don't bump
target_link_libraries(llama PUBLIC ggml)