Skip to content
Snippets Groups Projects
Commit 4fcf9fb6 authored by sfan5's avatar sfan5
Browse files

Add workaround for failing clang build

parent 04a1a446
No related branches found
No related tags found
No related merge requests found
......@@ -645,6 +645,11 @@ else()
endif(HAS_UNUSED_BUT_SET_VARIABLE_WARNING)
endif()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# clang does not understand __extern_always_inline but libc headers use it
set(OTHER_FLAGS "${OTHER_FLAGS} \"-D__extern_always_inline=extern __always_inline\"")
endif()
if(MINGW)
set(OTHER_FLAGS "-mthreads -fexceptions")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment