From: mpa Date: Mon, 15 Jun 2015 09:22:50 +0000 (+0300) Subject: CMake improvement: usage of SALOME_GUI_WITH_CORBA() macro X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=41df349266747ada812e50e69b436f58d24948d1;p=plugins%2Fcanrecplugin.git CMake improvement: usage of SALOME_GUI_WITH_CORBA() macro --- diff --git a/CMakeLists.txt b/CMakeLists.txt index be217c3..14dfc6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})