From: mpa Date: Mon, 3 Mar 2014 11:02:24 +0000 (+0400) Subject: Debug of CMake build procedure X-Git-Tag: V7_4_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a7c62d4204930bd5e4d7155cdf776dcc75c5e1a2;hp=bce740a6b2ee6fd3d9efc3c789b6e70a6aefb91c;p=samples%2Fatomgen.git Debug of CMake build procedure --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8687386..f9707eb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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