diff --git a/CMakeLists.txt b/CMakeLists.txt index dbe06949d..2b54a3fcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,14 @@ # # ############################################################################## +# ~~~ +# Important note: +# This CMakeLists.txt is not meant as a top-level CMakeLists.txt. Instead, +# CMake must be run using the top-level CMakeLists.txt from the nuttx +# repository and point to this directory via NUTTX_APPS_DIR. For example: +# cmake -S -B [...] -DNUTTX_APPS_DIR= +# ~~~ + if(CONFIG_APPS_DIR) nuttx_add_library(apps) if(NOT EXISTS {NUTTX_APPS_BINDIR}/dummy.c)