mirror of https://github.com/CGAL/cgal
If CGAL_TEST_SUITE, then plugins do not depend on Polyhedron_3
This commit is contained in:
parent
2ccb65f6ea
commit
1491b754f7
|
|
@ -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(NOT CGAL_TEST_SUITE AND TARGET Polyhedron_3)
|
||||
add_dependencies( ${plugin_name} Polyhedron_3 )
|
||||
endif()
|
||||
if(NOT TARGET CGALlab_all_plugins)
|
||||
|
|
|
|||
Loading…
Reference in New Issue