Commit dec8a47a authored by Jan Möbius's avatar Jan Möbius

Fixed cmak

parent bcf97fe1
......@@ -2,22 +2,8 @@ include (plugin)
set(CURRENT_PLUGIN_DEPS "")
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/PolyhedralMesh)
add_definitions(-DENABLE_OPENVOLUMEMESH_SUPPORT)
add_definitions(-DENABLE_OPENVOLUMEMESH_POLYHEDRAL_SUPPORT)
list(APPEND CURRENT_PLUGIN_DEPS OpenVolumeMesh)
endif()
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/HexahedralMesh)
add_definitions(-DENABLE_OPENVOLUMEMESH_SUPPORT)
add_definitions(-DENABLE_OPENVOLUMEMESH_HEXAHEDRAL_SUPPORT)
list(APPEND CURRENT_PLUGIN_DEPS OpenVolumeMesh)
endif()
list(REMOVE_DUPLICATES CURRENT_PLUGIN_DEPS)
openflipper_plugin (
DEPS ${CURRENT_PLUGIN_DEPS} EIGEN3
DEPS OpenVolumeMesh EIGEN3
TYPES POLYHEDRALMESH
OPT_TYPES POLYHEDRALMESH HEXAHEDRALMESH
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment