## == Find Qt4 and check if it was well configured ==
## ==================================================
-## IF(BUILD_QT4_COMPONENTS)
+IF(BUILD_QT4_COMPONENTS)
FIND_PACKAGE(Qt4 REQUIRED)
INCLUDE(${QT_USE_FILE})
SET(
QVTKWidget
CACHE STRING "Base Qt4-based vtkRenderWindow"
)
- # ADD_DEFINITIONS(-DcpPlugins_QT4 -DcpExtensions_QT4)
-## ELSE(BUILD_QT4_COMPONENTS)
- # ADD_DEFINITIONS(-UcpPlugins_QT4 -UcpExtensions_QT4)
-## ENDIF(BUILD_QT4_COMPONENTS)
+ MARK_AS_ADVANCED(CLEAR cpPlugins_Qt4_VTKWidget)
+ENDIF(BUILD_QT4_COMPONENTS)
## eof - $RCSfile$