From 3dc7768ea665777dd4eb96f0ea59874acc8b01cc Mon Sep 17 00:00:00 2001 From: Vissarion Fisikopoulos Date: Thu, 5 Sep 2024 16:25:41 +0300 Subject: [PATCH] [cmake] Use BOOST_GEOMETRY_UNIT_TEST_NAME in target_compile_definitions --- test/robustness/overlay/areal_areal/CMakeLists.txt | 2 +- test/robustness/overlay/buffer/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/robustness/overlay/areal_areal/CMakeLists.txt b/test/robustness/overlay/areal_areal/CMakeLists.txt index 5c2c0ed62c..f01e7c688d 100644 --- a/test/robustness/overlay/areal_areal/CMakeLists.txt +++ b/test/robustness/overlay/areal_areal/CMakeLists.txt @@ -17,7 +17,7 @@ foreach(item IN ITEMS #ticket_9081 ) boost_geometry_add_unit_test("robustness" ${item}) - target_include_directories(boost_geometry_robustness_${item} + target_include_directories(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE "${PROJECT_SOURCE_DIR}/test/robustness" .) diff --git a/test/robustness/overlay/buffer/CMakeLists.txt b/test/robustness/overlay/buffer/CMakeLists.txt index c45812a11e..23b1095811 100644 --- a/test/robustness/overlay/buffer/CMakeLists.txt +++ b/test/robustness/overlay/buffer/CMakeLists.txt @@ -11,7 +11,7 @@ foreach(item IN ITEMS recursive_polygons_buffer ) boost_geometry_add_unit_test("robustness" ${item}) - target_include_directories(boost_geometry_robustness_${item} + target_include_directories(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE "${PROJECT_SOURCE_DIR}/test/robustness" .)