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)
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()
# !! 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()