From: rnv Date: Thu, 19 Sep 2013 09:40:34 +0000 (+0000) Subject: OpenCascade is obligatory third-party product for the GUI module. X-Git-Tag: BR_hydro_v_0_3_1~58 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f40a5cb6e20eccee59752a1e7651ef54b549a7b3;p=modules%2Fgui.git OpenCascade is obligatory third-party product for the GUI module. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 05423e4c9..21e2e9c5f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,17 +120,16 @@ FIND_PACKAGE(SalomeSIP REQUIRED) # should come after Python and before PyQt4 # 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)