Fixed SITL build (and clang posix build)

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2016-02-19 16:59:46 +01:00
committed by Julian Oes
parent 791ec37f43
commit d8dd8ab67d
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ else()
${CMAKE_SOURCE_DIR}/src/platforms/posix/main.cpp
apps.h
)
if (NOT ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" AND NOT APPLE)
if (${CMAKE_C_COMPILER_ID} STREQUAL "Clang" AND NOT APPLE)
target_link_libraries(mainapp
-Wl,--start-group
${module_libraries}