# Build with GUI observers feature
ADD_DEFINITIONS(-DWITH_SALOMEDS_OBSERVER)
+#OCCT
+FIND_PACKAGE(SalomeCAS REQUIRED)
+
# Qt4
FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui QtXml QtWebKit QtOpenGL)
INCLUDE(${QT_USE_FILE})
-FIND_PACKAGE(SalomePyQt4 REQUIRED)
+FIND_PACKAGE(SalomePyQt4 REQUIRED)
# Optional prerequisites for GUI
-IF(SALOME_USE_OCCVIEWER)
- FIND_PACKAGE(SalomeCAS)
- SALOME_LOG_OPTIONAL_PACKAGE(CAS SALOME_USE_OCCVIEWER)
-ENDIF()
IF(SALOME_USE_GLVIEWER)
FIND_PACKAGE(SalomeOpenGL)
SALOME_LOG_OPTIONAL_PACKAGE(OpenGL SALOME_USE_GLVIEWER)