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 8e13f33 commit 321f62cCopy full SHA for 321f62c
CMakeLists.txt
@@ -43,7 +43,7 @@ if(ENABLE_TESTING)
43
add_subdirectory(tests)
44
endif()
45
46
-if(ENABLE_BENCHMARKS)
+if(ENABLE_BENCHMARKS AND NOT CMAKE_BUILD_TYPE STREQUAL "Sanitize")
47
add_subdirectory(benchmarks)
48
49
benchmarks/CMakeLists.txt
@@ -18,5 +18,4 @@ target_link_libraries(benchmarks
18
PRIVATE benchmark::benchmark benchmark::benchmark_main ${PROJECT_NAME}::math
19
)
20
21
-enable_sanitizers(benchmarks)
22
enable_strict_warnings(benchmarks)
0 commit comments