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
This commit is contained in:
parent
0e1b432dd0
commit
c3ab69c7f7
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(CONFIG_HOST_LINUX)
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
nuttx_post_build
|
nuttx_post_build
|
||||||
DEPENDS nuttx
|
DEPENDS nuttx
|
||||||
|
|
Loading…
Reference in a new issue