From 8634452d6dfab4828054c87ec26c36f518c29104 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Thu, 21 Jan 2016 20:16:28 -0800 Subject: [PATCH] Fixed logic for posix SITL build Signed-off-by: Mark Charlebois --- src/firmware/posix/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/firmware/posix/CMakeLists.txt b/src/firmware/posix/CMakeLists.txt index a16731e4d3..838eeb91e9 100644 --- a/src/firmware/posix/CMakeLists.txt +++ b/src/firmware/posix/CMakeLists.txt @@ -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}