mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
14 lines
392 B
Diff
14 lines
392 B
Diff
From: Pavel Sobolev <contact@paveloom.dev>
|
|
Subject: [PATCH] Use system `Catch2`.
|
|
|
|
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
|
|
|
|
--- a/tests/CMakeLists.txt
|
|
+++ b/tests/CMakeLists.txt
|
|
@@ -1,5 +1,4 @@
|
|
-set(CATCH2_ROOT_DIR "${PROJECT_SOURCE_DIR}/thirdparty/Catch2")
|
|
-list(APPEND CMAKE_MODULE_PATH "${CATCH2_ROOT_DIR}/contrib")
|
|
+find_package(Catch2 REQUIRED)
|
|
|
|
add_subdirectory(unit_test)
|