]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
CMake improvement: usage of SALOME_GUI_MODE() macro
authormpa <mpa@opencascade.com>
Thu, 11 Jun 2015 11:52:10 +0000 (14:52 +0300)
committermpa <mpa@opencascade.com>
Thu, 11 Jun 2015 11:52:10 +0000 (14:52 +0300)
CMakeLists.txt

index 953c03835e88f85df20762c32d9d39770e8a72af..28198a07c9c58926e1636000d60d427c8dd24fce 100755 (executable)
@@ -91,7 +91,8 @@ IF(SALOME_BUILD_GUI)
   IF(EXISTS ${GUI_ROOT_DIR})
     LIST(APPEND CMAKE_MODULE_PATH "${GUI_ROOT_DIR}/adm_local/cmake_files")
     FIND_PACKAGE(SalomeGUI)
-    FULL_GUI(TRUE) # check whether GUI builded in full mode and with CORBA
+    SALOME_GUI_WITH_CORBA() # check whether GUI builded with CORBA
+    SALOME_GUI_MODE(SALOME_USE_SALOMEOBJECT)
   ELSE(EXISTS ${GUI_ROOT_DIR})
     MESSAGE(FATAL_ERROR "We absolutely need a Salome GUI, please define GUI_ROOT_DIR")
   ENDIF(EXISTS ${GUI_ROOT_DIR})