Skip to content

Commit

Permalink
cmake: add hints for locating ggml on Windows using Llama find-package (
Browse files Browse the repository at this point in the history
  • Loading branch information
Emreerdog authored Jan 28, 2025
1 parent cf8cc85 commit 794fe23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/llama-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set_and_check(LLAMA_INCLUDE_DIR "@PACKAGE_LLAMA_INCLUDE_INSTALL_DIR@")
set_and_check(LLAMA_LIB_DIR "@PACKAGE_LLAMA_LIB_INSTALL_DIR@")
set_and_check(LLAMA_BIN_DIR "@PACKAGE_LLAMA_BIN_INSTALL_DIR@")

find_package(ggml REQUIRED)
find_package(ggml REQUIRED HINTS ${LLAMA_LIB_DIR}/cmake)

find_library(llama_LIBRARY llama
REQUIRED
Expand Down

0 comments on commit 794fe23

Please sign in to comment.