mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
[EDF31321]: Add bootsrap in smesh's dependence
This commit is contained in:
parent
75973dbe64
commit
f55dbc13fb
@ -41,6 +41,18 @@ ENDIF()
|
|||||||
SALOME_SETUP_VERSION(9.13.0)
|
SALOME_SETUP_VERSION(9.13.0)
|
||||||
MESSAGE(STATUS "Building ${PROJECT_NAME_UC} ${${PROJECT_NAME_UC}_VERSION} from \"${${PROJECT_NAME_UC}_GIT_SHA1}\"")
|
MESSAGE(STATUS "Building ${PROJECT_NAME_UC} ${${PROJECT_NAME_UC}_VERSION} from \"${${PROJECT_NAME_UC}_GIT_SHA1}\"")
|
||||||
|
|
||||||
|
|
||||||
|
# Find SalomeBootstrap
|
||||||
|
# ===========
|
||||||
|
SET(SALOMEBOOTSTRAP_ROOT_DIR $ENV{SALOMEBOOTSTRAP_ROOT_DIR} CACHE PATH "Path to the Salome Bootstrap")
|
||||||
|
IF(EXISTS ${SALOMEBOOTSTRAP_ROOT_DIR})
|
||||||
|
FIND_PACKAGE(SalomeBootstrap REQUIRED)
|
||||||
|
ADD_DEFINITIONS(${SALOMEBOOTSTRAP_DEFINITIONS})
|
||||||
|
INCLUDE_DIRECTORIES(${SALOMEBOOTSTRAP_INCLUDE_DIRS})
|
||||||
|
ELSE(EXISTS ${SALOMEBOOTSTRAP_ROOT_DIR})
|
||||||
|
MESSAGE(FATAL_ERROR "We absolutely need a Salome Bootstrap, please define SALOMEBOOTSTRAP_ROOT_DIR")
|
||||||
|
ENDIF(EXISTS ${SALOMEBOOTSTRAP_ROOT_DIR})
|
||||||
|
|
||||||
# Find KERNEL
|
# Find KERNEL
|
||||||
# ===========
|
# ===========
|
||||||
SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL")
|
SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL")
|
||||||
|
@ -23,6 +23,7 @@ INCLUDE_DIRECTORIES(
|
|||||||
${KERNEL_INCLUDE_DIRS}
|
${KERNEL_INCLUDE_DIRS}
|
||||||
${OpenCASCADE_INCLUDE_DIR}
|
${OpenCASCADE_INCLUDE_DIR}
|
||||||
${Boost_INCLUDE_DIRS}
|
${Boost_INCLUDE_DIRS}
|
||||||
|
${SALOMEBOOTSTRAP_INCLUDE_DIRS}
|
||||||
${PROJECT_SOURCE_DIR}/src/SMDS
|
${PROJECT_SOURCE_DIR}/src/SMDS
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -38,6 +39,7 @@ SET(_link_LIBRARIES
|
|||||||
${OpenCASCADE_FoundationClasses_LIBRARIES}
|
${OpenCASCADE_FoundationClasses_LIBRARIES}
|
||||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
|
SALOMEException
|
||||||
SMDS
|
SMDS
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user