diff options
| author | hathach <[email protected]> | 2021-04-19 13:30:04 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-04-19 13:30:04 +0700 |
| commit | 59f0fa1e5e6767602c346bdd9371bf7d6caa9d08 (patch) | |
| tree | 89072aab24057bb559b3f0b44e87ccfd3834b504 /examples/device/board_test | |
| parent | 27c4a7db8df7d4e40359084eaa0ede4280651155 (diff) | |
cmake cleanup
Diffstat (limited to 'examples/device/board_test')
| -rw-r--r-- | examples/device/board_test/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/device/board_test/CMakeLists.txt b/examples/device/board_test/CMakeLists.txt index 698b0c96f..c41ad92ab 100644 --- a/examples/device/board_test/CMakeLists.txt +++ b/examples/device/board_test/CMakeLists.txt @@ -1,4 +1,6 @@ -# use directory name for project id +cmake_minimum_required(VERSION 3.5) + +# use BOARD-Directory name for project id get_filename_component(PROJECT ${CMAKE_CURRENT_SOURCE_DIR} NAME) set(PROJECT ${BOARD}-${PROJECT}) @@ -38,5 +40,5 @@ elseif(FAMILY STREQUAL "rp2040") ) else() - message(FATAL_ERROR "Invalid FAMILY specified") + message(FATAL_ERROR "Invalid FAMILY specified: ${FAMILY}") endif() |
