From eb2079d467f8658eea13e2ed86cc69d864632866 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 29 Sep 2021 19:07:35 -0300 Subject: [PATCH] Use system googletest and benchmark. --- CMakeLists.txt | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10e9b0a..492ccae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1467,12 +1467,7 @@ set(gtest_force_shared_crt ON CACHE BOOL "Pass Mixxx compiler/linker options to # Prevent installation of GoogleTest libraries set(INSTALL_GTEST OFF CACHE BOOL "Disable installation of GoogleTest" FORCE) -# Add googletest directly to our build. This adds the following targets: -# gtest, gtest_main, gmock and gmock_main -add_subdirectory( - "${CMAKE_CURRENT_SOURCE_DIR}/lib/googletest" - "${CMAKE_CURRENT_BINARY_DIR}/lib/googletest" -) +find_package(GTest CONFIG REQUIRED) add_executable(mixxx-test src/test/analyserwaveformtest.cpp @@ -1582,10 +1577,8 @@ 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" -) +find_package(benchmark CONFIG REQUIRED) + target_link_libraries(mixxx-test PRIVATE benchmark) # Test Suite -- 2.30.2 cm?id=d42a0f10e750905adf49bc03cde8c20e59636afd'>diff
path: root/gnu/packages/cedille.scm
AgeCommit message (Expand)Author
2020-04-02gnu: cedille: Install the info pages....* gnu/packages/cedille.scm (cedille)[arguments]: Rename phase 'patch-cedille-path-el' to 'patch-cedille-paths' and add substitution for the info page location. In the 'copy-cedille-mode' phase, install the info page. Signed-off-by: Marius Bakke <mbakke@fastmail.com> John Soo
2020-04-02gnu: cedille: Fix emacs outputs....* gnu/packages/cedille.scm (cedille):[arguments] Add slashes to output paths. Signed-off-by: Marius Bakke <mbakke@fastmail.com> John Soo
2020-03-19gnu: cedille: Remove guix.d from the Elisp installation directory....* gnu/packages/cedille.scm (cedille)[phases]{patch-cedille-path-el}: Update the Elisp installation prefix used. {copy-cedille-mode}: Likewise. Maxim Cournoyer
2020-02-23gnu: cedille: Update to 1.1.2....* gnu/packages/cedille.scm (cedille): Update to 1.1.2. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> John Soo