File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
components/mdns/host_test/components Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,8 @@ idf_component_register(SRCS esp_timer_linux.c timer_task.cpp
2
2
INCLUDE_DIRS include
3
3
REQUIRES esp_system_protocols_linux freertos_linux )
4
4
5
- target_compile_features (${COMPONENT_LIB} PRIVATE cxx_std_17 )
5
+ set_target_properties (${COMPONENT_LIB} PROPERTIES
6
+ CXX_STANDARD 17
7
+ CXX_STANDARD_REQUIRED ON
8
+ CXX_EXTENSIONS ON
9
+ )
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ idf_component_register(SRCS freertos_linux.c queue_unique_ptr.cpp
4
4
5
5
set (THREADS_PREFER_PTHREAD_FLAG ON )
6
6
find_package (Threads REQUIRED )
7
- target_link_libraries (${COMPONENT_LIB} PRIVATE Threads::Threads )
7
+ target_link_libraries (${COMPONENT_LIB} PRIVATE Threads::Threads )
8
8
9
- target_compile_features (${COMPONENT_LIB} PRIVATE cxx_std_17 )
9
+ set_target_properties (${COMPONENT_LIB} PROPERTIES
10
+ CXX_STANDARD 17
11
+ CXX_STANDARD_REQUIRED ON
12
+ CXX_EXTENSIONS ON
13
+ )
You can’t perform that action at this time.
0 commit comments