mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 20:28:37 +08:00
Corrected logic for gcc build on Apple
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Lorenz Meier
parent
79b4bd60b2
commit
2cdd6c6055
@@ -10,7 +10,7 @@ add_executable(mainapp
|
|||||||
apps.h
|
apps.h
|
||||||
)
|
)
|
||||||
|
|
||||||
if (NOT APPLE)
|
if (NOT ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" OR NOT APPLE)
|
||||||
target_link_libraries(mainapp
|
target_link_libraries(mainapp
|
||||||
-Wl,--start-group
|
-Wl,--start-group
|
||||||
${module_libraries}
|
${module_libraries}
|
||||||
|
|||||||
Reference in New Issue
Block a user