mirror of https://github.com/google/benchmark.git
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.
|
# 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_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(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||||
set(ENABLE_ASSEMBLY_TESTS_DEFAULT OFF)
|
set(ENABLE_ASSEMBLY_TESTS_DEFAULT OFF)
|
||||||
function(should_enable_assembly_tests)
|
function(should_enable_assembly_tests)
|
||||||
|
|
Loading…
Reference in New Issue