Do not let CMake check the compiler with en executable as the entry point is not always main()
This commit is contained in:
parent
a75b3bad15
commit
a7d0b6c120
@ -1,6 +1,8 @@
|
||||
set(CMAKE_SYSTEM_NAME Generic)
|
||||
set(CMAKE_SYSTEM_VERSION 1)
|
||||
|
||||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
|
||||
|
||||
set(NUTTX_PATH ${CMAKE_CURRENT_LIST_DIR}/..)
|
||||
include(${NUTTX_PATH}/scripts/target.cmake)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user