Skip to content

Commit 326a4f3

Browse files
committed
Fixed CMake Error at vendor/llama.cpp/tools/mtmd/CMakeLists.txt:16 (set_target_properties)
Cause by ggml-org/llama.cpp#17091
1 parent 62bc43b commit 326a4f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ if (LLAMA_BUILD)
145145
endif()
146146

147147
if (MTMD_BUILD)
148+
if (NOT DEFINED LLAMA_BUILD_NUMBER)
149+
set(LLAMA_BUILD_NUMBER ${BUILD_NUMBER})
150+
endif()
151+
152+
set(LLAMA_INSTALL_VERSION 0.0.${LLAMA_BUILD_NUMBER})
153+
148154
add_subdirectory(vendor/llama.cpp/tools/mtmd)
149155

150156
if (LLAMA_CUBLAS OR LLAMA_CUDA)

0 commit comments

Comments
 (0)