Commit b1b770d90 for llama.cpp

commit b1b770d90d94cad9e9ea5b993bdbc383a522fb28
Author: Daniel Bevenius <daniel.bevenius@gmail.com>
Date:   Fri Nov 13 01:09:55 2026 -0800

    examples : remove explict version from test-cmake (#32191)

    This commit removes the llama version test-cmake and instead uses the
    version that is supplied by CMAKE_PREFIX_PATH.

    The motivation for this is to avoid issues when bumping major versions.

diff --git a/examples/test-cmake/CMakeLists.txt b/examples/test-cmake/CMakeLists.txt
index 2df129c30..340707ee7 100644
--- a/examples/test-cmake/CMakeLists.txt
+++ b/examples/test-cmake/CMakeLists.txt
@@ -8,7 +8,7 @@ option(LLAMA_TEST_USE_SUBDIR "Use add_subdirectory instead of find_package" OFF)
 if(LLAMA_TEST_USE_SUBDIR)
     add_subdirectory(../../ llama.cpp)
 else()
-    find_package(llama 1.0.0 REQUIRED)
+    find_package(llama CONFIG REQUIRED PATHS ${CMAKE_PREFIX_PATH} NO_DEFAULT_PATH)
 endif()

 add_executable(test-cmake test-cmake.cpp)