From 42465b22f4a13bf6676804a12bfc03fd18c31dde Mon Sep 17 00:00:00 2001 From: jake-g00dwin Date: Tue, 24 Feb 2026 19:02:27 -0800 Subject: [PATCH] updated ADC module to use the toolchain vars. --- src/ADC/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ADC/CMakeLists.txt b/src/ADC/CMakeLists.txt index afdf472..315ef71 100644 --- a/src/ADC/CMakeLists.txt +++ b/src/ADC/CMakeLists.txt @@ -11,6 +11,12 @@ if(NOT UNIT_TESTING) target_link_libraries(ADC RegEdit ) + + target_compile_options(ADC PUBLIC + ${OBJECT_GEN_FLAGS} + ${C_FLAGS_ARCH} + ) + else() target_include_directories(ADC PUBLIC ${CMAKE_CURRENT_LIST_DIR}