Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a3c8a
)
Modification into CMakeList for SMESH mpi compilation.
author
Florian BRUNET
<FB15EB3N@dsp0657834.(none)>
Tue, 5 May 2015 09:42:29 +0000
(11:42 +0200)
committer
vsr
<vsr@opencascade.com>
Wed, 6 May 2015 15:45:39 +0000
(18:45 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 4a60b2d6f8528c906ce7ec24ee765b401cf5915c..b308616a7f77896555e04c5dd74f1ffdfc3f3371 100755
(executable)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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})