From: mpa Date: Thu, 11 Jun 2015 11:51:23 +0000 (+0300) Subject: CMake improvement: usage of SALOME_GUI_MODE() macro X-Git-Tag: V7_7_0a1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf476a31e8149f8e1d11bb9ea72ec5609235ad2b;p=tools%2Fmedcoupling.git CMake improvement: usage of SALOME_GUI_MODE() macro --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a94e5e637..51a6514c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,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 REQUIRED) - 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 SALOME_USE_PYCONSOLE OPTIONAL SALOME_USE_PVVIEWER) ADD_DEFINITIONS(${GUI_DEFINITIONS}) INCLUDE_DIRECTORIES(${GUI_INCLUDE_DIRS}) ELSE(EXISTS ${GUI_ROOT_DIR})