Skip to content

Commit

Permalink
Merge pull request #56 from Lapshin/master
Browse files Browse the repository at this point in the history
feat(cdc): fix GCC version variable name for CMake (IEC-151)
  • Loading branch information
tore-espressif authored Aug 8, 2024
2 parents c50d3c8 + cfb7e97 commit 647f70f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion host/class/cdc/usb_host_vcp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ set_target_properties(${COMPONENT_LIB} PROPERTIES
CXX_STANDARD_REQUIRED ON
)

if (GCC_VERSION VERSION_LESS_EQUAL 13.2) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116070
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 13.2) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116070
target_compile_options(${COMPONENT_LIB} PRIVATE -fconcepts)
endif()
2 changes: 1 addition & 1 deletion host/class/cdc/usb_host_vcp/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## IDF Component Manager Manifest File
version: "1.0.0~3"
version: "1.0.0~4"
description: USB Host Virtual COM Port Service
url: https://github.com/espressif/esp-usb/tree/master/host/class/cdc/usb_host_vcp
dependencies:
Expand Down

0 comments on commit 647f70f

Please sign in to comment.