Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2022
[modules/smesh.git]
/
src
/
SMESHDS
/
CMakeLists.txt
diff --git
a/src/SMESHDS/CMakeLists.txt
b/src/SMESHDS/CMakeLists.txt
index f8d28ce56103ba9b725a1b1166f0ba570a0c1b5a..3c9320c595ca6440fa3d22416808f47fad0de0e4 100644
(file)
--- a/
src/SMESHDS/CMakeLists.txt
+++ b/
src/SMESHDS/CMakeLists.txt
@@
-1,4
+1,4
@@
-# Copyright (C) 2012-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-20
22
CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-19,27
+19,36
@@
# --- options ---
# additional include directories
# --- options ---
# additional include directories
+
+IF(SALOME_SMESH_USE_TBB)
+ SET(TBB_INCLUDES ${TBB_INCLUDE_DIRS})
+ENDIF(SALOME_SMESH_USE_TBB)
+
INCLUDE_DIRECTORIES(
${KERNEL_INCLUDE_DIRS}
INCLUDE_DIRECTORIES(
${KERNEL_INCLUDE_DIRS}
- ${CAS_INCLUDE_DIRS}
- ${VTK_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/SMDS
${Boost_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/SMDS
-
+ ${TBB_INCLUDES}
)
# additional preprocessor / compiler flags
ADD_DEFINITIONS(
)
# additional preprocessor / compiler flags
ADD_DEFINITIONS(
- ${
CAS
_DEFINITIONS}
+ ${
OpenCASCADE
_DEFINITIONS}
${BOOST_DEFINITIONS}
)
${BOOST_DEFINITIONS}
)
+IF(SALOME_SMESH_USE_TBB)
+ SET(TBB_LIBS ${TBB_LIBRARIES})
+ENDIF(SALOME_SMESH_USE_TBB)
+
# libraries to link to
SET(_link_LIBRARIES
# libraries to link to
SET(_link_LIBRARIES
- ${
CAS
_KERNEL}
- ${
CAS_TKBRep
}
+ ${
OpenCASCADE
_KERNEL}
+ ${
OpenCASCADE_ModelingData_LIBRARIES
}
${KERNEL_SALOMELocalTrace}
SMDS
${KERNEL_SALOMELocalTrace}
SMDS
+ ${TBB_LIBS}
)
# --- headers ---
)
# --- headers ---