mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
esp32, mbedtls: check component name when enabling test flags
Otherwise flags get enabled even when building tests for other components.
This commit is contained in:
@@ -158,7 +158,7 @@ else()
|
||||
endif()
|
||||
|
||||
# Enable dynamic esp_timer overflow value if building unit tests
|
||||
if(NOT "${BUILD_TEST_COMPONENTS}" EQUAL "")
|
||||
if(esp32_test IN_LIST BUILD_TEST_COMPONENTS)
|
||||
add_definitions(-DESP_TIMER_DYNAMIC_OVERFLOW_VAL)
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user