Fixed build for GCC and clang on Linux

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2016-02-19 16:59:46 +01:00
committed by Julian Oes
parent d8dd8ab67d
commit 53c0bccf19
+1 -1
View File
@@ -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}