Commit 802bf901 authored by Jan Möbius's avatar Jan Möbius
Browse files

Don't build ovm file plugin, if the corresponding objecttype is not available



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16018 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5a33c07e
include (plugin)
openflipper_plugin (DEPS OpenVolumeMesh)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/PolyhedralMesh/PolyhedralMesh.hh)
openflipper_plugin (DEPS OpenVolumeMesh)
else()
message( WARNING "Plugin FileOVM disabled due to missing PolyHedralMesh ObjectType" )
endif ()
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