Skip to content

cmake: CLI should explicitly depend on mtmd headers now - #18045

Closed
65a wants to merge 1 commit into
ggml-org:masterfrom
65a:master
Closed

65a wants to merge 1 commit into
ggml-org:masterfrom
65a:master

Conversation

@65a

@65a 65a commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Add explicit dep for includes, and switch from include_directories to using target_include_directories

The new CLI changes break builds for me when compiling llama.cpp as a cmake dependency as it doesn't see the mtmd.h header anymore.

Add explicit dep for includes, and switch from include_directories to using target_include_directories
@65a 65a changed the title cmake: CLI should explicitly depend on mtmd now cmake: CLI should explicitly depend on mtmd headers now Dec 15, 2025
@65a
65a marked this pull request as draft December 15, 2025 01:43
@65a

65a commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

This might be a false positive. BUILD_SERVER and BUILD_TOOLS are intermingled now maybe.

@65a

65a commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

Yes, reverting this. There are a few deps from server that won't work if -DBUILD_SERVER=OFF but -DBUILD_TOOLS=ON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant