]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
Debug of CMake build procedure
authormpa <mpa@opencascade.com>
Mon, 3 Mar 2014 11:55:49 +0000 (15:55 +0400)
committermpa <mpa@opencascade.com>
Mon, 3 Mar 2014 11:55:49 +0000 (15:55 +0400)
CMakeLists.txt

index ec048e012c4eaffb676a6f5476c474efb0e35068..5f250119c827264672436bebe1b7591e69cf6e2a 100755 (executable)
@@ -41,14 +41,11 @@ IF(EXISTS ${KERNEL_ROOT_DIR})
   LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
   INCLUDE(SalomeMacros)
   FIND_PACKAGE(SalomeKERNEL REQUIRED)
+  KERNEL_WITH_CORBA() # check whether KERNEL builded with CORBA
 ELSE(EXISTS ${KERNEL_ROOT_DIR})
   MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
 ENDIF(EXISTS ${KERNEL_ROOT_DIR})
 
-IF(SALOME_LIGHT_ONLY)
-  MESSAGE(FATAL_ERROR "JOBMANAGER module can't be built in Light mode (without CORBA)")
-ENDIF()
-
 # Platform setup
 # ==============
 INCLUDE(SalomeSetupPlatform)   # From KERNEL