From 5831667dc14c0866f93d1ad05a46c0ca7776e8b9 Mon Sep 17 00:00:00 2001 From: mpa Date: Thu, 11 Jun 2015 14:42:05 +0300 Subject: [PATCH] CMake improvement: usage of SALOME_GUI_MODE() macro --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e08756..4beec10 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) -- 2.39.2