Fixes GCC build
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2022-03-11 11:32:44 +01:00
1 parent 2bf12ab879
commit be81082588
1 file changed
+6 -3
+6 -3
View File
@@ -32,9 +32,12 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
endif ()
if (CMAKE_BUILD_TYPE MATCHES Release)
# Include debug symbols in all linux builds
message("Including debug symbols")
add_compile_options(-g -gline-tables-only)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# Include debug symbols in all linux builds
message("Including debug symbols")
add_compile_options(-g -gline-tables-only)
endif ()
# FIXME: Add debug symbols for GCC
endif ()
# Grab all cpp and hpp files in our source directories.