mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
Modification into CMakeList for SMESH mpi compilation.
This commit is contained in:
parent
83a3c8aef5
commit
548b7c33ef
@ -42,6 +42,8 @@ IF(EXISTS ${KERNEL_ROOT_DIR})
|
|||||||
INCLUDE(SalomeMacros)
|
INCLUDE(SalomeMacros)
|
||||||
FIND_PACKAGE(SalomeKERNEL REQUIRED)
|
FIND_PACKAGE(SalomeKERNEL REQUIRED)
|
||||||
KERNEL_WITH_CORBA() #check whether KERNEL builded with CORBA
|
KERNEL_WITH_CORBA() #check whether KERNEL builded with CORBA
|
||||||
|
ADD_DEFINITIONS(${KERNEL_DEFINITIONS})
|
||||||
|
INCLUDE_DIRECTORIES(${KERNEL_INCLUDE_DIRS})
|
||||||
ELSE(EXISTS ${KERNEL_ROOT_DIR})
|
ELSE(EXISTS ${KERNEL_ROOT_DIR})
|
||||||
MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
|
MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
|
||||||
ENDIF(EXISTS ${KERNEL_ROOT_DIR})
|
ENDIF(EXISTS ${KERNEL_ROOT_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user