mirror of
https://github.com/google/benchmark.git
synced 2025-02-14 21:30:13 +08:00
Add no-unititialized to tests (#1683)
This commit is contained in:
parent
7495f83e2a
commit
6a16cee366
@ -5,6 +5,8 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
add_cxx_compiler_flag(-Wno-unused-variable)
|
||||
|
||||
# NOTE: Some tests use `<cassert>` to perform the test. Therefore we must
|
||||
# strip -DNDEBUG from the default CMake flags in DEBUG mode.
|
||||
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
|
||||
|
Loading…
Reference in New Issue
Block a user