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" .)