mirror of
https://github.com/google/benchmark.git
synced 2024-12-26 20:40:21 +08:00
cmake: Add explicit BENCHMARK_ENABLE_LIBPFM option (#1141)
This commit is contained in:
parent
d0c227ccfd
commit
e50b572e89
@ -34,6 +34,8 @@ option(BENCHMARK_DOWNLOAD_DEPENDENCIES "Allow the downloading and in-tree buildi
|
||||
# in cases where it is not possible to build or find a valid version of gtest.
|
||||
option(BENCHMARK_ENABLE_GTEST_TESTS "Enable building the unit tests which depend on gtest" ON)
|
||||
|
||||
option(BENCHMARK_ENABLE_LIBPFM "Enable performance counters provided by libpfm" OFF)
|
||||
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
set(ENABLE_ASSEMBLY_TESTS_DEFAULT OFF)
|
||||
function(should_enable_assembly_tests)
|
||||
|
Loading…
Reference in New Issue
Block a user