]> SALOME platform Git repositories - plugins/canrecplugin.git/commitdiff
Salome HOME
CMake improvement: usage of SALOME_GUI_WITH_CORBA() macro
authormpa <mpa@opencascade.com>
Mon, 15 Jun 2015 09:22:50 +0000 (12:22 +0300)
committermpa <mpa@opencascade.com>
Mon, 15 Jun 2015 09:22:50 +0000 (12:22 +0300)
CMakeLists.txt

index be217c3d68aac8d585e781fa81d140288b5e0023..14dfc6dbc30d3c017096109d133a4343619a5c6b 100644 (file)
@@ -83,7 +83,7 @@ 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 is built in full mode and with CORBA
+    SALOME_GUI_WITH_CORBA() #check whether GUI builded with CORBA
   ELSE(EXISTS ${GUI_ROOT_DIR})
     MESSAGE(FATAL_ERROR "We absolutely need a SALOME GUI, please define GUI_ROOT_DIR")
   ENDIF(EXISTS ${GUI_ROOT_DIR})