mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 06:10:29 +01:00
cmake : fix llama.h location when built outside of root directory (#3179)
This commit is contained in:
parent
c2ab6fe661
commit
76164fe2e6
@ -723,7 +723,7 @@ set(GGML_PUBLIC_HEADERS "ggml.h"
|
|||||||
set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}")
|
set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}")
|
||||||
install(TARGETS ggml PUBLIC_HEADER)
|
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(TARGETS llama LIBRARY PUBLIC_HEADER)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
Loading…
Reference in New Issue
Block a user