mirror of https://github.com/llvm/circt.git
unittests: Squelch -Wsuggest-override errors in LLVM's gtest. (#4409)
These warnings are verbose and we can't fix them, so don't generate warnings about them.
This commit is contained in:
parent
ad85fa9869
commit
9cf3fc3af6
|
@ -1,6 +1,10 @@
|
|||
add_custom_target(CIRCTUnitTests)
|
||||
set_target_properties(CIRCTUnitTests PROPERTIES FOLDER "CIRCT Tests")
|
||||
|
||||
if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG)
|
||||
add_compile_options("-Wno-suggest-override")
|
||||
endif()
|
||||
|
||||
function(add_circt_unittest test_dirname)
|
||||
add_unittest(CIRCTUnitTests ${test_dirname} ${ARGN})
|
||||
endfunction()
|
||||
|
|
Loading…
Reference in New Issue