diff --git a/Applications/DataExplorer/CMakeLists.txt b/Applications/DataExplorer/CMakeLists.txt index 6f5501a92724b119bf5b30a1a28d3d704ab7365c..7215199550028e353c250a36533595cf4f2630f0 100644 --- a/Applications/DataExplorer/CMakeLists.txt +++ b/Applications/DataExplorer/CMakeLists.txt @@ -3,7 +3,9 @@ if(QT4_FOUND) else() set(VTK_QT_VERSION 5 CACHE INTERNAL "") endif() -add_subdirectory(VtkModules/Qt) +if(NOT TARGET vtkGUISupportQt) + add_subdirectory(VtkModules/Qt) +endif() if(VTKFBXCONVERTER_FOUND) add_definitions(-DVTKFBXCONVERTER_FOUND)