Add -Wno-misleading-indentation to CFLAGS avoid compilation failure when using GCC6
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>main
parent
3d9462d820
commit
2eb72631bb
|
@ -6,7 +6,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/")
|
|||
|
||||
#set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
|
||||
add_definitions(-O -Wall -Werror --std=gnu99 -D_GNU_SOURCE)
|
||||
add_definitions(-O -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wno-misleading-indentation)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/
|
||||
|
|
Loading…
Reference in New Issue