Skip to content

Commit b025a85

Browse files
committed
Add full path to shared library installation path
1 parent 146ca2c commit b025a85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ else()
2525
add_subdirectory(vendor/llama.cpp)
2626
install(
2727
TARGETS llama
28-
LIBRARY DESTINATION llama_cpp
29-
RUNTIME DESTINATION llama_cpp
30-
ARCHIVE DESTINATION llama_cpp
31-
FRAMEWORK DESTINATION llama_cpp
28+
LIBRARY DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
29+
RUNTIME DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
30+
ARCHIVE DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
31+
FRAMEWORK DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
3232
)
3333
endif()

0 commit comments

Comments
 (0)