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:
parent
e00fbc5557
commit
82677145ed
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue