diff --git a/host/class/cdc/usb_host_vcp/CMakeLists.txt b/host/class/cdc/usb_host_vcp/CMakeLists.txt index e719094d..b61ed017 100644 --- a/host/class/cdc/usb_host_vcp/CMakeLists.txt +++ b/host/class/cdc/usb_host_vcp/CMakeLists.txt @@ -5,4 +5,7 @@ set_target_properties(${COMPONENT_LIB} PROPERTIES CXX_STANDARD 14 CXX_STANDARD_REQUIRED ON ) -target_compile_options(${COMPONENT_LIB} PRIVATE -fconcepts) + +if (GCC_VERSION VERSION_LESS_EQUAL 13.2) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116070 + target_compile_options(${COMPONENT_LIB} PRIVATE -fconcepts) +endif()