Browse Source

Fixed logic for posix SITL build

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
sbg
Mark Charlebois 9 years ago committed by Julian Oes
parent
commit
8634452d6d
  1. 2
      src/firmware/posix/CMakeLists.txt

2
src/firmware/posix/CMakeLists.txt

@ -30,7 +30,7 @@ else() @@ -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 ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" AND NOT APPLE)
target_link_libraries(mainapp
-Wl,--start-group
${module_libraries}

Loading…
Cancel
Save