mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
IMP: SMESH / CMake build procedure: Added the export of MEDFILE_ROOT_DIR to the configuration file so that other modules can find MEDFILE based on the information provided by SMESH.
This commit is contained in:
parent
5651bafb1c
commit
3c2705b25c
@ -260,6 +260,7 @@ EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets}
|
||||
|
||||
# Ensure the variables are always defined for the configure:
|
||||
SET(GEOM_ROOT_DIR "${GEOM_ROOT_DIR}")
|
||||
SET(MEDFILE_ROOT_DIR "${MEDFILE_ROOT_DIR}")
|
||||
SET(CGNS_ROOT_DIR "${CGNS_ROOT_DIR}")
|
||||
SET(TBB_ROOT_DIR "${TBB_ROOT_DIR}")
|
||||
|
||||
@ -268,7 +269,7 @@ CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_NAME}Config.cmake.in
|
||||
${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
||||
INSTALL_DESTINATION "${SALOME_INSTALL_CMAKE_LOCAL}"
|
||||
PATH_VARS CONF_INCLUDE_DIRS SALOME_INSTALL_CMAKE_LOCAL CMAKE_INSTALL_PREFIX
|
||||
GEOM_ROOT_DIR CGNS_ROOT_DIR TBB_ROOT_DIR)
|
||||
GEOM_ROOT_DIR MEDFILE_ROOT_DIR CGNS_ROOT_DIR TBB_ROOT_DIR)
|
||||
|
||||
WRITE_BASIC_PACKAGE_VERSION_FILE(${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
||||
VERSION ${${PROJECT_NAME_UC}_VERSION}
|
||||
|
@ -56,6 +56,7 @@ SET(SALOME_SMESH_USE_TBB @SALOME_SMESH_USE_TBB@)
|
||||
|
||||
# Level 1 prerequisites:
|
||||
SET_AND_CHECK(GEOM_ROOT_DIR_EXP "@PACKAGE_GEOM_ROOT_DIR@")
|
||||
SET_AND_CHECK(MEDFILE_ROOT_DIR_EXP "@PACKAGE_MEDFILE_ROOT_DIR@")
|
||||
|
||||
# Optional level 1 prerequisites:
|
||||
IF(SALOME_SMESH_USE_CGNS)
|
||||
@ -135,4 +136,4 @@ SET(SMESH_StdMeshersGUI StdMeshersGUI)
|
||||
SET(SMESH_MeshJobManagerEngine MeshJobManagerEngine)
|
||||
SET(SMESH_SPADDERPluginTesterEngine SPADDERPluginTesterEngine)
|
||||
SET(SMESH_SalomeIDLSMESH SalomeIDLSMESH)
|
||||
SET(SMESH_SalomeIDLSPADDER SalomeIDLSPADDER)
|
||||
SET(SMESH_SalomeIDLSPADDER SalomeIDLSPADDER)
|
||||
|
Loading…
Reference in New Issue
Block a user