mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-24 02:40:33 +05:00
Fix problem with compilation of plugins after integration of bos #24009
This commit is contained in:
parent
d7ce9e283f
commit
08dfebe121
@ -366,6 +366,7 @@ EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets}
|
||||
|
||||
# Ensure the variables are always defined for the configure:
|
||||
SET(GEOM_ROOT_DIR "${GEOM_ROOT_DIR}")
|
||||
SET(MEDCOUPLING_ROOT_DIR "${MEDCOUPLING_ROOT_DIR}")
|
||||
SET(MEDFILE_ROOT_DIR "${MEDFILE_ROOT_DIR}")
|
||||
SET(CGNS_ROOT_DIR "${CGNS_ROOT_DIR}")
|
||||
SET(TBB_ROOT_DIR "${TBB_ROOT_DIR}")
|
||||
@ -373,13 +374,13 @@ SET(TBB_ROOT_DIR "${TBB_ROOT_DIR}")
|
||||
SET(CONF_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/include" "${PROJECT_BINARY_DIR}/include")
|
||||
|
||||
# Build variables that will be expanded when configuring Salome<MODULE>Config.cmake:
|
||||
SALOME_CONFIGURE_PREPARE(CGNS TBB MEDFile)
|
||||
SALOME_CONFIGURE_PREPARE(MEDCoupling CGNS TBB MEDFile)
|
||||
|
||||
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 MEDFILE_ROOT_DIR CGNS_ROOT_DIR TBB_ROOT_DIR)
|
||||
GEOM_ROOT_DIR MEDCOUPLING_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}
|
||||
|
Loading…
Reference in New Issue
Block a user