diff options
author | Andrei <abetlen@gmail.com> | 2023-09-15 04:07:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 11:07:40 +0300 |
commit | 76164fe2e65c058e9ee2c3afd0ad6b182ca57e25 (patch) | |
tree | 0dc80bc6b30ee21485661c72a20910b95c06ee8f | |
parent | c2ab6fe661af9834ca6dd75f14e2439938cc22ac (diff) |
cmake : fix llama.h location when built outside of root directory (#3179)
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eac5799a..346ea8d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -723,7 +723,7 @@ set(GGML_PUBLIC_HEADERS "ggml.h" set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}") install(TARGETS ggml PUBLIC_HEADER) -set_target_properties(llama PROPERTIES PUBLIC_HEADER llama.h) +set_target_properties(llama PROPERTIES PUBLIC_HEADER ${CMAKE_CURRENT_SOURCE_DIR}/llama.h) install(TARGETS llama LIBRARY PUBLIC_HEADER) install( |