mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 16:58:54 +08:00
Fixed build for GCC and clang on Linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Julian Oes
parent
d8dd8ab67d
commit
53c0bccf19
@@ -30,7 +30,7 @@ else()
|
||||
${CMAKE_SOURCE_DIR}/src/platforms/posix/main.cpp
|
||||
apps.h
|
||||
)
|
||||
if (${CMAKE_C_COMPILER_ID} STREQUAL "Clang" AND NOT APPLE)
|
||||
if (NOT APPLE)
|
||||
target_link_libraries(mainapp
|
||||
-Wl,--start-group
|
||||
${module_libraries}
|
||||
|
||||
Reference in New Issue
Block a user