From: Anthony Geay Date: Mon, 31 May 2021 12:55:20 +0000 (+0200) Subject: Patch from Intel X-Git-Tag: V9_8_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7543a4eddd339f273946dcadc5668afe17e9e902;p=tools%2Fconfiguration.git Patch from Intel --- diff --git a/cmake/FindSalomeHDF5.cmake b/cmake/FindSalomeHDF5.cmake index 271a585..1a4b27e 100644 --- a/cmake/FindSalomeHDF5.cmake +++ b/cmake/FindSalomeHDF5.cmake @@ -72,7 +72,7 @@ IF(HDF5_ENABLE_PARALLEL OR HDF5_IS_PARALLEL) SET(_suffix "-shared") SET(HDF5_LIBRARIES "${_target_prefix}hdf5${_suffix}") ENDIF() - GET_PROPERTY(_lib_lst TARGET ${HDF5_LIBRARIES} PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG) + GET_PROPERTY(_lib_lst SOURCE ${HDF5_LIBRARIES} PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG) FOREACH(s ${_lib_lst}) STRING(FIND "${s}" "mpi." _res) # should cover WIN(?) and LINUX IF(_res GREATER -1) diff --git a/cmake/FindSalomeMEDFile.cmake b/cmake/FindSalomeMEDFile.cmake index 8ea30ea..750f0de 100644 --- a/cmake/FindSalomeMEDFile.cmake +++ b/cmake/FindSalomeMEDFile.cmake @@ -39,8 +39,8 @@ IF(MEDFile_FOUND) TRY_RUN(_med_int_run_result _med_int_compile_results ${CMAKE_BINARY_DIR} ${_med_int_cxx} CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${MEDFILE_INCLUDE_DIRS};${HDF5_INCLUDE_DIR}" - LINK_LIBRARIES ${MEDFILE_C_LIBRARIES} - RUN_OUTPUT_VARIABLE _med_int_output) + LINK_LIBRARIES ${MEDFILE_C_LIBRARIES} ${HDF5_LIBRARIES} + RUN_OUTPUT_VARIABLE _med_int_output) IF(_med_int_compile_results) SET(MED_INT_SIZE ${_med_int_output}) ELSE() diff --git a/cmake/FindSalomeParMetis.cmake b/cmake/FindSalomeParMetis.cmake index 617d6c9..19dd8ed 100644 --- a/cmake/FindSalomeParMetis.cmake +++ b/cmake/FindSalomeParMetis.cmake @@ -24,10 +24,10 @@ # !! Please read the generic detection procedure in SalomeMacros.cmake !! # -SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(ParMetis PARMETIS_INCLUDE_DIRS 0) +SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(ParMetis PARMETIS_INCLUDE_DIRS 1) #MARK_AS_ADVANCED() IF(PARMETIS_FOUND) SALOME_ACCUMULATE_HEADERS(PARMETIS_INCLUDE_DIRS) SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${PARMETIS_LIBRARIES}) -ENDIF() \ No newline at end of file +ENDIF()