From 6b7722cfb404673014a78e7323117828cbc0d3d1 Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:07:26 +0100 Subject: [PATCH] build(CMAKE): fix pac sim elf ONLY in Linux platform avoid SIM compilation post build issues on other platforms same fix for build with make https://github.com/apache/nuttx/pull/14800 --- boards/sim/sim/sim/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/sim/sim/sim/CMakeLists.txt b/boards/sim/sim/sim/CMakeLists.txt index 8f49981914..5e1c6cf2e4 100644 --- a/boards/sim/sim/sim/CMakeLists.txt +++ b/boards/sim/sim/sim/CMakeLists.txt @@ -22,7 +22,7 @@ add_subdirectory(src) -if(NOT MSVC) +if(CONFIG_HOST_LINUX) add_custom_target( nuttx_post_build DEPENDS nuttx