mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
cmake(bugfix):Fixed the issue that the host toolchain version cannot be specified
SIM arch does not need to execute find_program Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
@@ -27,11 +27,6 @@ if(WIN32)
|
||||
return()
|
||||
endif()
|
||||
|
||||
find_program(CMAKE_C_COMPILER gcc)
|
||||
find_program(CMAKE_CXX_COMPILER g++)
|
||||
|
||||
set(CMAKE_PREPROCESSOR cc -E -P -x c)
|
||||
|
||||
# NuttX is sometimes built as a native target. In that case, the __NuttX__ macro
|
||||
# is predefined by the compiler. https://github.com/NuttX/buildroot
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user