Modification into CMakeList for SMESH mpi compilation.

This commit is contained in:
Florian BRUNET 2015-05-05 11:42:29 +02:00 committed by vsr
parent 83a3c8aef5
commit 548b7c33ef

View File

@ -42,6 +42,8 @@ IF(EXISTS ${KERNEL_ROOT_DIR})
INCLUDE(SalomeMacros)
FIND_PACKAGE(SalomeKERNEL REQUIRED)
KERNEL_WITH_CORBA() #check whether KERNEL builded with CORBA
ADD_DEFINITIONS(${KERNEL_DEFINITIONS})
INCLUDE_DIRECTORIES(${KERNEL_INCLUDE_DIRS})
ELSE(EXISTS ${KERNEL_ROOT_DIR})
MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
ENDIF(EXISTS ${KERNEL_ROOT_DIR})