diff options
| author | Reinhard Panhuber <[email protected]> | 2021-04-20 20:15:54 +0200 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2021-04-20 20:15:54 +0200 |
| commit | 705753f448f5cf3b24a6fa49ec02fe1ab0b400aa (patch) | |
| tree | 49533426ece7ecec32793b48f4e0103c621b07df /examples/host | |
| parent | c7c11b181c05136a1c077dc445f422c7e17edc02 (diff) | |
| parent | c5f440a6aa39a09487000e7ce408d252dc7641f0 (diff) | |
Merge remote-tracking branch 'upstream/master' into uac2_fix_cs_as_int_alt_set_0
Diffstat (limited to 'examples/host')
| -rw-r--r-- | examples/host/cdc_msc_hid/CMakeLists.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/examples/host/cdc_msc_hid/CMakeLists.txt b/examples/host/cdc_msc_hid/CMakeLists.txt index 30b6c713e..a9a4f08ad 100644 --- a/examples/host/cdc_msc_hid/CMakeLists.txt +++ b/examples/host/cdc_msc_hid/CMakeLists.txt @@ -7,12 +7,7 @@ set(TOP "../../..") get_filename_component(TOP "${TOP}" REALPATH) # Check for -DFAMILY= -if(FAMILY STREQUAL "esp32s2") - cmake_minimum_required(VERSION 3.5) - include(${TOP}/hw/bsp/${FAMILY}/family.cmake) - project(${PROJECT}) - -elseif(FAMILY STREQUAL "rp2040") +if(FAMILY STREQUAL "rp2040") cmake_minimum_required(VERSION 3.12) include(${TOP}/hw/bsp/${FAMILY}/pico_sdk_import.cmake) @@ -38,5 +33,5 @@ elseif(FAMILY STREQUAL "rp2040") ) else() - message(FATAL_ERROR "Invalid FAMILY specified") + message(FATAL_ERROR "Invalid FAMILY specified: ${FAMILY}") endif() |
