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

index 7e08756b6d5a76b484a39532abaccd053151619b..4beec105e240e29fbb3b9991a0f0319ea5430692 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)
     ADD_DEFINITIONS(${GUI_DEFINITIONS})
     INCLUDE_DIRECTORIES(${GUI_INCLUDE_DIRS})
   ELSE(EXISTS ${GUI_ROOT_DIR})