mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
Disable -Wsuggest-override for all remaining unittests/ directories
This commit is contained in:
@@ -36,6 +36,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Add warning flags.
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
|
||||
if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG)
|
||||
add_definitions("-Wno-suggest-override")
|
||||
endif()
|
||||
|
||||
add_library(
|
||||
acxxel
|
||||
|
||||
Reference in New Issue
Block a user