Skip to content

Commit

Permalink
cmake : fix llama.h location when built outside of root directory (gg…
Browse files Browse the repository at this point in the history
  • Loading branch information
abetlen authored Sep 15, 2023
1 parent c2ab6fe commit 76164fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 76164fe

Please sign in to comment.