From 53c0bccf19d3b550a4733a2c9c08289d78f24757 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Tue, 9 Feb 2016 00:42:59 -0800 Subject: [PATCH] Fixed build for GCC and clang on Linux 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..40190cf980 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 APPLE) target_link_libraries(mainapp -Wl,--start-group ${module_libraries}