Skip to content

Commit

Permalink
Merge pull request #11839 from daschuer/devendor_benchmark
Browse files Browse the repository at this point in the history
de-vendor benchmark
  • Loading branch information
Swiftb0y authored Aug 27, 2023
2 parents 2e169e1 + 57fcb1d commit eed961a
Show file tree
Hide file tree
Showing 81 changed files with 4 additions and 12,168 deletions.
17 changes: 2 additions & 15 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1924,21 +1924,8 @@ find_package(GTest CONFIG REQUIRED)
set_target_properties(mixxx-test PROPERTIES AUTOMOC ON)
target_link_libraries(mixxx-test PRIVATE mixxx-lib mixxx-gitinfostore GTest::gtest GTest::gmock)

#
# Benchmark tests
#

# Disable testing of google/benchmark
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "" FORCE)

# Prevent installation of google/benchmark artifacts
set(BENCHMARK_ENABLE_INSTALL OFF CACHE BOOL "Disable installation of google/benchmark" FORCE)

add_subdirectory(
"${CMAKE_CURRENT_SOURCE_DIR}/lib/benchmark"
"${CMAKE_CURRENT_BINARY_DIR}/lib/benchmark"
)
target_link_libraries(mixxx-test PRIVATE benchmark)
find_package(benchmark)
target_link_libraries(mixxx-test PRIVATE benchmark::benchmark)

# Test Suite
include(CTest)
Expand Down
60 changes: 0 additions & 60 deletions lib/benchmark/AUTHORS

This file was deleted.

Loading

0 comments on commit eed961a

Please sign in to comment.