Skip to content

Commit

Permalink
[cmake] Use BOOST_GEOMETRY_UNIT_TEST_NAME in target_compile_definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
vissarion committed Sep 5, 2024
1 parent 1dea69d commit 3dc7768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/robustness/overlay/areal_areal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
.)
Expand Down
2 changes: 1 addition & 1 deletion test/robustness/overlay/buffer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
.)
Expand Down

0 comments on commit 3dc7768

Please sign in to comment.