Skip to content
Commit 94e72a94 authored by Jakub Sujak's avatar Jakub Sujak Committed by Felix Johnny Thomasmathibalan
Browse files

Use relative path to fetch KleidiAI dependencies



The `CMAKE_SOURCE_DIR` variable always corresponds to the top level directory of the CMakefile being processed by CMake. This causes issues for CMake projects that fetch KleidiAI using `FetchContent()` as it incorrectly assumes KleidiAI's dependencies reside in that project's top level directory, rather than in KleidiAI's source tree. Resolve this issue by using the `CMAKE_CURRENT_SOURCE_DIR` variable to use relative paths to the KleidiAI project.

Signed-off-by: Jakub Sujak's avatarJakub Sujak <jakub.sujak@arm.com>

Approved-by: Felix Johnny Thomasmathibalan's avatarFelix Johnny Thomasmathibalan <felixjohnny.thomasmathibalan@arm.com>
parent 6c4f42db
Loading
Loading
Loading
Pipeline #15865 passed with stages
in 5 minutes and 58 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment