mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 13:03:35 +08:00
changed isnan checks and cmake compiler condition for apple machines
This commit is contained in:
@@ -10,7 +10,7 @@ add_executable(mainapp
|
||||
apps.h
|
||||
)
|
||||
|
||||
if (NOT ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" OR NOT APPLE)
|
||||
if (NOT ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" AND NOT APPLE)
|
||||
target_link_libraries(mainapp
|
||||
-Wl,--start-group
|
||||
${module_libraries}
|
||||
|
||||
Reference in New Issue
Block a user