diff options
| author | hathach <[email protected]> | 2023-06-01 13:28:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-06-01 13:28:28 +0700 |
| commit | af59864ab51d43b0308df617097949b399c5d112 (patch) | |
| tree | fe07568ebc4c0a3ce9acdecad249c5208498445c /examples/device/hid_multiple_interface | |
| parent | 412b557a080526fbfe7b42dd8aa07468c16413cc (diff) | |
| parent | 77714e02caa6b873a78737385e603cdae1f9f109 (diff) | |
Merge branch 'master' into feature/STM32G0
Diffstat (limited to 'examples/device/hid_multiple_interface')
| -rw-r--r-- | examples/device/hid_multiple_interface/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/device/hid_multiple_interface/CMakeLists.txt b/examples/device/hid_multiple_interface/CMakeLists.txt index acaa54198..eb4c198d6 100644 --- a/examples/device/hid_multiple_interface/CMakeLists.txt +++ b/examples/device/hid_multiple_interface/CMakeLists.txt @@ -1,14 +1,18 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.17) include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) # gets PROJECT name for the example (e.g. <BOARD>-<DIR_NAME>) family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) -project(${PROJECT}) +project(${PROJECT} C CXX ASM) # Checks this example is valid for the family and initializes the project family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) +# Espressif has its own cmake build system +if(FAMILY STREQUAL "espressif") + return() +endif() add_executable(${PROJECT}) |
