aboutsummaryrefslogtreecommitdiff
path: root/cmake/EmbeddedLLVM.cmake
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-13 11:04:35 +0000
committer_ov4 <ov4@ov4.org>2026-10-13 11:04:35 +0000
commit85bd5c6663dc8c663f86828d1b1a5273ee0a82fe (patch)
tree1618bd538c148f9164c95405898bba454e2836b3 /cmake/EmbeddedLLVM.cmake
parent08fe39b4394b0fcd0272e08f17b7fed852bc2a47 (diff)
build: extract package dependencies and prefer local libraries
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'cmake/EmbeddedLLVM.cmake')
-rw-r--r--cmake/EmbeddedLLVM.cmake4
1 files changed, 2 insertions, 2 deletions
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}")