We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f089e8d commit 3308a96Copy full SHA for 3308a96
CMakeLists.txt
@@ -28,10 +28,11 @@ if (NOT has_parent)
28
29
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "Disable testing benchmark.")
30
add_subdirectory(dependencies/benchmark EXCLUDE_FROM_ALL)
31
+ get_property(benchmark_include_dirs TARGET benchmark PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
32
+ set_property(TARGET benchmark PROPERTY INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${benchmark_include_dirs}")
33
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
34
target_compile_options(benchmark PUBLIC
35
"-Wno-global-constructors"
- "-Wno-shift-sign-overflow"
36
)
37
endif()
38
0 commit comments