From 2cdd6c60550210344be7475b995b80062e30d1a8 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Mon, 19 Oct 2015 14:58:15 -0700 Subject: [PATCH] Corrected logic for gcc build on Apple 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 2c7074ed33..7cef387962 100644 --- a/src/firmware/posix/CMakeLists.txt +++ b/src/firmware/posix/CMakeLists.txt @@ -10,7 +10,7 @@ add_executable(mainapp apps.h ) -if (NOT APPLE) +if (NOT ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" OR NOT APPLE) target_link_libraries(mainapp -Wl,--start-group ${module_libraries}