Moved add_item for edit_polyhedron

This commit is contained in:
Maxime Gimeno 2015-12-01 13:15:06 +01:00
parent 90a5dff1b4
commit e8c3dd0fe5
2 changed files with 5 additions and 6 deletions

View File

@ -202,7 +202,11 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND AND OPENGL_FOUND AND QGLVIEWER_FOUND)
target_link_libraries(scene_polyhedron_shortest_path_item scene_polyhedron_item_decorator scene_polyhedron_item scene_polylines_item)
if(EIGEN3_FOUND )
qt5_wrap_ui( editionUI_FILES Plugins/Surface_modeling/Deform_mesh.ui )
add_item(scene_textured_polyhedron_item Scene_textured_polyhedron_item.cpp texture.cpp)# Scene_textured_polyhedron_item.moc)
add_item(scene_edit_polyhedron_item Plugins/Surface_modeling/Scene_edit_polyhedron_item.cpp
${editionUI_FILES})
target_link_libraries(scene_edit_polyhedron_item scene_polyhedron_item scene_polyhedron_item_k_ring_selection)
endif()
add_item(scene_implicit_function_item Scene_implicit_function_item.cpp Color_ramp.cpp )#Scene_implicit_function_item.moc)

View File

@ -1,11 +1,6 @@
include( polyhedron_demo_macros )
if ( EIGEN3_FOUND AND "${EIGEN3_VERSION}" VERSION_GREATER "3.1.90" )
qt5_wrap_ui( editionUI_FILES Deform_mesh.ui )
add_item(scene_edit_polyhedron_item Scene_edit_polyhedron_item.cpp
${editionUI_FILES})
target_link_libraries(scene_edit_polyhedron_item scene_polyhedron_item scene_polyhedron_item_k_ring_selection)
polyhedron_demo_plugin(edit_polyhedron_plugin Edit_polyhedron_plugin ${editionUI_FILES})
polyhedron_demo_plugin(edit_polyhedron_plugin Edit_polyhedron_plugin Deform_mesh.ui)
target_link_libraries(edit_polyhedron_plugin scene_polyhedron_item scene_edit_polyhedron_item)
else()
message(STATUS "NOTICE: The polyhedron edit plugin require Eigen 3.2 (or higher) and will not be available.")