Fixes GCC build
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d9dda8433e
commit
a99e3e2d6c
|
@ -32,12 +32,14 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
add_compile_options(-fconcepts)
|
add_compile_options(-fconcepts)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (CMAKE_BUILD_TYPE MATCHES Release AND NOT WINDOWS)
|
if (CMAKE_BUILD_TYPE MATCHES Release)
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
# Include debug symbols in all linux builds
|
# Include debug symbols in all linux builds
|
||||||
message("Including debug symbols")
|
message("Including debug symbols")
|
||||||
add_compile_options(-g -gline-tables-only)
|
add_compile_options(-g -gline-tables-only)
|
||||||
endif ()
|
endif ()
|
||||||
|
# FIXME: Add debug symbols for GCC
|
||||||
|
endif ()
|
||||||
|
|
||||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
|
|
Loading…
Reference in New Issue