mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-16 12:02:11 +02:00
examples, components: remove C/C++ standard overrides
...where they are not necessary after switching to C17 and C++20.
This commit is contained in:
committed by
Euripedes Rocha
parent
7b2470ddd6
commit
2865255ec0
@ -4,8 +4,6 @@ idf_component_register(SRCS "esp_mqtt_cxx.cpp"
|
||||
INCLUDE_DIRS "include"
|
||||
)
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-std=gnu++17")
|
||||
|
||||
if(TEST_BUILD)
|
||||
message(STATUS "Test build")
|
||||
idf_component_get_property(mqtt_dir mqtt COMPONENT_DIR)
|
||||
|
@ -1,4 +1,2 @@
|
||||
idf_component_register(SRCS "mqtt_ssl_example.cpp"
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-std=gnu++17")
|
||||
|
@ -1,3 +1,2 @@
|
||||
idf_component_register(SRCS "mqtt_tcp_example.cpp"
|
||||
INCLUDE_DIRS ".")
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-std=gnu++17")
|
||||
|
Reference in New Issue
Block a user