From f40a5cb6e20eccee59752a1e7651ef54b549a7b3 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 19 Sep 2013 09:40:34 +0000 Subject: [PATCH] OpenCascade is obligatory third-party product for the GUI module. --- CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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) -- 2.39.2