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
2bf12ab879
commit
be81082588
|
@ -32,9 +32,12 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (CMAKE_BUILD_TYPE MATCHES Release)
|
if (CMAKE_BUILD_TYPE MATCHES Release)
|
||||||
# Include debug symbols in all linux builds
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
message("Including debug symbols")
|
# Include debug symbols in all linux builds
|
||||||
add_compile_options(-g -gline-tables-only)
|
message("Including debug symbols")
|
||||||
|
add_compile_options(-g -gline-tables-only)
|
||||||
|
endif ()
|
||||||
|
# FIXME: Add debug symbols for GCC
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# Grab all cpp and hpp files in our source directories.
|
# Grab all cpp and hpp files in our source directories.
|
||||||
|
|
Loading…
Reference in New Issue