mirror of https://github.com/CGAL/cgal
Clean CMakeLists.txt
This commit is contained in:
parent
c0cbaa1e15
commit
1a12f53932
|
|
@ -15,16 +15,13 @@ create_single_source_cgal_program("test_marching_cubes.cpp")
|
|||
if(TARGET CGAL::Eigen3_support)
|
||||
create_single_source_cgal_program("test_isosurfacing_concepts.cpp")
|
||||
create_single_source_cgal_program("test_dual_contouring.cpp")
|
||||
create_single_source_cgal_program("test_dual_contouring_implicit_shapes.cpp")
|
||||
|
||||
target_link_libraries(test_isosurfacing_concepts PRIVATE CGAL::Eigen3_support)
|
||||
target_link_libraries(test_dual_contouring PRIVATE CGAL::Eigen3_support)
|
||||
target_link_libraries(test_dual_contouring_implicit_shapes PRIVATE CGAL::Eigen3_support)
|
||||
|
||||
if(TARGET CGAL::TBB_support)
|
||||
target_link_libraries(test_isosurfacing_concepts PRIVATE CGAL::Eigen3_support)
|
||||
target_link_libraries(test_dual_contouring PRIVATE CGAL::TBB_support)
|
||||
target_link_libraries(test_dual_contouring_implicit_shapes PRIVATE CGAL::TBB_support)
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "NOTICE: tests require the Eigen library, and will not be compiled.")
|
||||
|
|
|
|||
Loading…
Reference in New Issue