From 85bd5c6663dc8c663f86828d1b1a5273ee0a82fe Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 13 Oct 2026 11:04:35 +0000 Subject: build: extract package dependencies and prefer local libraries Co-Authored-By: Claude Fable 5.1 --- cmake/EmbeddedLLVM.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/EmbeddedLLVM.cmake') diff --git a/cmake/EmbeddedLLVM.cmake b/cmake/EmbeddedLLVM.cmake index 3b56a3c..c7ad5d4 100644 --- a/cmake/EmbeddedLLVM.cmake +++ b/cmake/EmbeddedLLVM.cmake @@ -14,10 +14,10 @@ foreach(cpsc_dependency IN LISTS cpsc_support_libs) continue() endif() list(GET cpsc_library_names 0 cpsc_library_name) - find_library(CPSC_STATIC_${cpsc_library_name} NAMES ${cpsc_library_names}) + cpsc_find_library(CPSC_STATIC_${cpsc_library_name} ${cpsc_library_names}) if(NOT CPSC_STATIC_${cpsc_library_name}) message(FATAL_ERROR - "EMBEDDED requires a static archive for ${cpsc_dependency}; install its development package") + "EMBEDDED requires a static archive for ${cpsc_dependency}; download or install its development package") endif() string(REPLACE "${cpsc_dependency}" "${CPSC_STATIC_${cpsc_library_name}}" cpsc_support_libs "${cpsc_support_libs}") -- cgit v1.3.1-4-g156e