mirror of
https://github.com/sstefani/mtrace.git
synced 2025-12-06 16:56:41 +08:00
Merge pull request #8 from coldtobi/fix_older_gcc
Fix add_compile_options spelling.
This commit is contained in:
commit
811a3b75e2
@ -53,7 +53,7 @@ set(CMAKE_EXE_LINKER_FLAGS_LTO "${CMAKE_LINKER_FLAGS_RELEASE} -flto")
|
|||||||
add_compile_options(-Wall -Wextra)
|
add_compile_options(-Wall -Wextra)
|
||||||
|
|
||||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 7)
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 7)
|
||||||
add_compile_option(-Wno-implicit-fallthrough)
|
add_compile_options(-Wno-implicit-fallthrough)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT DISABLE_CLIENT)
|
if (NOT DISABLE_CLIENT)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user