Add a cmake variable so external project can detect nuttx is used.

This commit is contained in:
Theo 2023-12-18 10:17:26 +01:00 committed by Xiang Xiao
parent 149d648129
commit 26f0a52059
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_VERSION 1)
set(NUTTX 1)
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)