From: bruneton Date: Fri, 15 Nov 2013 09:39:05 +0000 (+0000) Subject: CMake: removing unnecessary precedence of shared MED library detection X-Git-Tag: BR_hydro_v_0_3_1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3b40b5aafa90b7ed055d1d5deffd764f77b58f35;p=modules%2Fkernel.git CMake: removing unnecessary precedence of shared MED library detection --- diff --git a/salome_adm/cmake_files/FindMEDFile.cmake b/salome_adm/cmake_files/FindMEDFile.cmake index 3b08b6a6c..aa2f0b25c 100644 --- a/salome_adm/cmake_files/FindMEDFile.cmake +++ b/salome_adm/cmake_files/FindMEDFile.cmake @@ -42,8 +42,8 @@ ENDIF(MEDFILE_ROOT_DIR) FIND_PATH(MEDFILE_INCLUDE_DIRS med.h) #FIND_PROGRAM(MDUMP mdump) -FIND_LIBRARY(MEDFILE_C_LIBRARIES NAMES libmedC.so medC) -FIND_LIBRARY(MEDFILE_F_LIBRARIES NAMES libmed.so med) +FIND_LIBRARY(MEDFILE_C_LIBRARIES NAMES medC) +FIND_LIBRARY(MEDFILE_F_LIBRARIES NAMES med) IF(MEDFILE_F_LIBRARIES) SET(MEDFILE_LIBRARIES ${MEDFILE_C_LIBRARIES} ${MEDFILE_F_LIBRARIES}) ELSE(MEDFILE_F_LIBRARIES)