Skip to content

Commit ff75661

Browse files
committed
Make LLAMA_MTMD dependent on LLAMA_BUILD_TOOLS if not specified
1 parent 285713d commit ff75661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ option(LLAMA_BUILD_EXAMPLES "llama: build examples" ${LLAMA_STANDALONE})
8484
option(LLAMA_BUILD_SERVER "llama: build server example" ${LLAMA_STANDALONE})
8585

8686
# specific extras
87-
option(LLAMA_MTMD "llama: multimodal support" OFF)
87+
option(LLAMA_MTMD "llama: multimodal support" ${LLAMA_BUILD_TOOLS})
8888

8989
# 3rd party libs
9090
option(LLAMA_CURL "llama: use libcurl to download model from an URL" ON)

0 commit comments

Comments
 (0)