mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 06:39:25 +01:00
Skip searching root path for cross-compile builds (#10383)
This commit is contained in:
parent
f139d2ea61
commit
531cb1c233
@ -66,11 +66,15 @@ endif()
|
|||||||
|
|
||||||
find_library(ggml_LIBRARY ggml
|
find_library(ggml_LIBRARY ggml
|
||||||
REQUIRED
|
REQUIRED
|
||||||
HINTS ${LLAMA_LIB_DIR})
|
HINTS ${LLAMA_LIB_DIR}
|
||||||
|
NO_CMAKE_FIND_ROOT_PATH
|
||||||
|
)
|
||||||
|
|
||||||
find_library(llama_LIBRARY llama
|
find_library(llama_LIBRARY llama
|
||||||
REQUIRED
|
REQUIRED
|
||||||
HINTS ${LLAMA_LIB_DIR})
|
HINTS ${LLAMA_LIB_DIR}
|
||||||
|
NO_CMAKE_FIND_ROOT_PATH
|
||||||
|
)
|
||||||
|
|
||||||
set(_llama_link_deps "${ggml_LIBRARY}" "@GGML_LINK_LIBRARIES@")
|
set(_llama_link_deps "${ggml_LIBRARY}" "@GGML_LINK_LIBRARIES@")
|
||||||
set(_llama_transient_defines "@GGML_TRANSIENT_DEFINES@")
|
set(_llama_transient_defines "@GGML_TRANSIENT_DEFINES@")
|
||||||
|
Loading…
Reference in New Issue
Block a user