Commit 2a68103d authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'optionalQtPlugin'

9f37c98a Add CMake switch to omit the Qt plugin when building GUISupportQt
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Jean-Christophe Fillion-Robin's avatarJean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !383
parents a0d05f27 9f37c98a
......@@ -98,7 +98,12 @@ if(VTK_USE_X)
endif()
# This build plugin logic should just get migrated into a module I think.
if(BUILD_SHARED_LIBS)
cmake_dependent_option(VTK_BUILD_QT_DESIGNER_PLUGIN
"Build the VTK Qt plugin for the Qt Designer." ON
BUILD_SHARED_LIBS OFF)
mark_as_advanced(VTK_BUILD_QT_DESIGNER_PLUGIN)
if(BUILD_SHARED_LIBS AND VTK_BUILD_QT_DESIGNER_PLUGIN)
set(PluginLibSrcs Q4VTKWidgetPlugin.cxx)
set(PluginMocHeaders Q4VTKWidgetPlugin.h)
......
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