From c3ab69c7f71d582ff2d409c565600cbb117c27e7 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 8f49981914b..5e1c6cf2e42 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