Corrected logic for gcc build on Apple

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-10-19 14:58:15 -07:00
committed by Lorenz Meier
parent 79b4bd60b2
commit 2cdd6c6055
+1 -1
View File
@@ -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}