esp-idf/components/esp_event/test/CMakeLists.txt

9 lines
397 B
CMake
Raw Normal View History

2019-10-15 03:12:53 -04:00
idf_component_register(SRC_DIRS "."
2019-08-06 05:59:26 -04:00
PRIV_INCLUDE_DIRS . ../private_include
PRIV_REQUIRES cmock test_utils esp_event driver)
if(CONFIG_IDF_TARGET_ARCH_RISCV)
# Temporary workaround for a linker issue on RISC-V that should be resolved in binutils 2.35 (internal ref: GCC-101)
target_compile_options(${COMPONENT_LIB} PRIVATE -mno-relax)
endif()