Salome HOME
Debug of CMake build procedure
authormpa <mpa@opencascade.com>
Mon, 3 Mar 2014 11:02:24 +0000 (15:02 +0400)
committermpa <mpa@opencascade.com>
Mon, 3 Mar 2014 11:02:24 +0000 (15:02 +0400)
CMakeLists.txt

index 868738658aa30ecf647b6f613a7326fa9f2aa55f..f9707ebb6baf942005a33baaa03d19a5be7b4be6 100755 (executable)
@@ -42,14 +42,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 "ATOMGEN module can't be built in Light mode (whiout CORBA)")
-ENDIF()
-
 # Platform setup
 # ==============
 INCLUDE(SalomeSetupPlatform)   # From KERNEL