From 26f0a52059fa6d5a27d8f967f82af8fb175271ba Mon Sep 17 00:00:00 2001 From: Theo Date: Mon, 18 Dec 2023 10:17:26 +0100 Subject: [PATCH] Add a cmake variable so external project can detect nuttx is used. --- tools/toolchain.cmake.export | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/toolchain.cmake.export b/tools/toolchain.cmake.export index b943f217c0..c879954df0 100644 --- a/tools/toolchain.cmake.export +++ b/tools/toolchain.cmake.export @@ -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)