From c2217ca2edfdd51dc0cdf2ecef0a3e38c88fada9 Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 14 Sep 2023 16:23:22 -0400 Subject: [PATCH] Fix llama.h location when built outside of root directory --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eac5799af..346ea8d2f 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(