Commit 9e7ed3bc authored by Jan Möbius's avatar Jan Möbius

Cmake: Don't build file plugins, if their data type is missing



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16016 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4fd341de
include (plugin)
openflipper_plugin ()
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/SplatCloud/SplatCloud.hh)
openflipper_plugin ()
else()
message( WARNING "Plugin FileBundle disabled due to missing SplatCloud ObjectType" )
endif ()
include (plugin)
openflipper_plugin ()
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/SplatCloud/SplatCloud.hh)
openflipper_plugin ()
else()
message( WARNING "Plugin FilePTS disabled due to missing SplatCloud ObjectType" )
endif ()
include (plugin)
openflipper_plugin ()
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/Skeleton/Skeleton.hh)
openflipper_plugin ()
else()
message( WARNING "Plugin FileSKL disabled due to missing skeleton 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