This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 26f0a52059 Add a cmake variable so external project can detect nuttx 
is used.
26f0a52059 is described below

commit 26f0a52059fa6d5a27d8f967f82af8fb175271ba
Author: Theo <theo.mar...@wandercraft.eu>
AuthorDate: Mon Dec 18 10:17:26 2023 +0100

    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)
 

Reply via email to