##
IF(SALOME_PARAVIS_BUILD_PLUGINS)
SET(MED_ROOT_DIR $ENV{MED_ROOT_DIR} CACHE PATH "Path to the Salome MED module")
+ FIND_PACKAGE(SalomeMEDFile)
+ SALOME_LOG_OPTIONAL_PACKAGE(MEDFile SALOME_PARAVIS_BUILD_PLUGINS)
IF(EXISTS ${MED_ROOT_DIR})
LIST(APPEND CMAKE_MODULE_PATH "${MED_ROOT_DIR}/adm_local/cmake_files")
- FIND_PACKAGE(SalomeMED REQUIRED) # Should load MEDFile too
+ FIND_PACKAGE(SalomeMED REQUIRED)
ELSE()
MESSAGE(FATAL_ERROR "We absolutely need the Salome MED module to build plugins, please define MED_ROOT_DIR")
ENDIF()