Skip to content

Commit

Permalink
If CGAL_TEST_SUITE, then plugins do not depend on Polyhedron_3
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Jan 11, 2024
1 parent 2ccb65f commit 258fd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Polyhedron/demo/Polyhedron/polyhedron_demo_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ include(${CGAL_MODULES_DIR}/CGAL_add_test.cmake)
endif()
# Link with CGAL
target_link_libraries( ${plugin_name} PUBLIC CGAL::CGAL )
if(TARGET Polyhedron_3)
if(CGAL_TEST_SUITE AND TARGET Polyhedron_3)
add_dependencies( ${plugin_name} Polyhedron_3 )
endif()
if(NOT TARGET CGALlab_all_plugins)
Expand Down

0 comments on commit 258fd30

Please sign in to comment.