We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885c1b3 commit c0a8a62Copy full SHA for c0a8a62
smollm/src/main/cpp/CMakeLists.txt
@@ -1,7 +1,10 @@
1
cmake_minimum_required(VERSION 3.22.1)
2
project("smollm")
3
4
-set(LLAMA_DIR "../../../../llama.cpp")
+# Resolve LLAMA_DIR to an absolute path
5
+set(LLAMA_DIR_RELATIVE "../../../../llama.cpp")
6
+get_filename_component(LLAMA_DIR ${LLAMA_DIR_RELATIVE} ABSOLUTE)
7
+
8
set(GGML_DIR ${LLAMA_DIR}/ggml)
9
set(COMMON_DIR ${LLAMA_DIR}/common)
10
set(VENDOR_DIR ${LLAMA_DIR}/vendor)
0 commit comments