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}