diff options
| author | hathach <[email protected]> | 2023-04-21 18:23:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-04-21 18:23:40 +0700 |
| commit | 6daa135201b16c287f0b0d7ad7463877d471ceef (patch) | |
| tree | a6806588d191483dcc2988851d754f8ea3508030 /examples/device/hid_boot_interface | |
| parent | 0afe1b36842c1542293e2133212aa0cfca9608c8 (diff) | |
update most examples cmake to build with imxrt
Diffstat (limited to 'examples/device/hid_boot_interface')
| -rw-r--r-- | examples/device/hid_boot_interface/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/device/hid_boot_interface/CMakeLists.txt b/examples/device/hid_boot_interface/CMakeLists.txt index acaa54198..eb4c198d6 100644 --- a/examples/device/hid_boot_interface/CMakeLists.txt +++ b/examples/device/hid_boot_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}) |
