From ecdf91ba51e384ae4698bcb566e23510bbf0d094 Mon Sep 17 00:00:00 2001 From: LeonPS Date: Tue, 16 Jan 2024 21:40:00 +0000 Subject: [PATCH] Add project ROOT --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bab920..beacb17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,7 @@ function(SetupTests) -Wpedantic ) + target_compile_definitions(zones_convolver_tests PRIVATE PROJECT_ROOT="${CMAKE_SOURCE_DIR}") include(${Catch2_SOURCE_DIR}/extras/Catch.cmake) catch_discover_tests(zones_convolver_tests) endfunction()