mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
MEDCoupling indispensable
This commit is contained in:
parent
94b4f20a65
commit
a619ad25da
@ -191,6 +191,15 @@ IF(NOT WITH_SHAPER_STUDY AND SALOME_BUILD_TESTS)
|
||||
MESSAGE(WARNING "SHAPERSTUDY is not found; the corresponding tests will be omitted")
|
||||
ENDIF()
|
||||
|
||||
# Find MEDCoupling
|
||||
# ================
|
||||
SET(MEDCOUPLING_ROOT_DIR $ENV{MEDCOUPLING_ROOT_DIR} CACHE PATH "Path to the MEDCoupling tool")
|
||||
IF(EXISTS ${MEDCOUPLING_ROOT_DIR})
|
||||
FIND_PACKAGE(SalomeMEDCoupling REQUIRED) # will reload HDF5, MEDFile, XDR, etc ...
|
||||
ELSE(EXISTS ${MEDCOUPLING_ROOT_DIR})
|
||||
MESSAGE(FATAL_ERROR "We absolutely need the MEDCoupling tool, please define MEDCOUPLING_ROOT_DIR !")
|
||||
ENDIF(EXISTS ${MEDCOUPLING_ROOT_DIR})
|
||||
|
||||
##
|
||||
## SMESH specifics
|
||||
##
|
||||
|
Loading…
Reference in New Issue
Block a user