Skip to content

cmake : allow repeated find_package calls for llama - #29228

Merged
danbev merged 1 commit into
ggml-org:masterfrom
miyanyan:fix-cmake-repeat-find-package-wip
Sep 22, 2026
Merged

danbev merged 1 commit into
ggml-org:masterfrom
miyanyan:fix-cmake-repeat-find-package-wip

Conversation

@miyanyan

Copy link
Copy Markdown
Contributor

Overview

cmake : allow repeated find_package calls for llama

Additional information

currently llama-cpp doesn't export targets in cmake, like:

install(TARGETS llama EXPORT llama-targets ...)
install(EXPORT llama-targets ...)

if add this, we can easily use

include("${CMAKE_CURRENT_LIST_DIR}/llama-targets.cmake")

in config.cmake

Requirements

@miyanyan
miyanyan requested a review from ggerganov as a code owner September 21, 2026 14:31
@github-actions github-actions Bot added build Compilation issues examples labels Sep 21, 2026
@danbev
danbev merged commit a60f9ae into ggml-org:master Sep 22, 2026
22 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Compilation issues examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants