From 3b40b5aafa90b7ed055d1d5deffd764f77b58f35 Mon Sep 17 00:00:00 2001 From: bruneton Date: Fri, 15 Nov 2013 09:39:05 +0000 Subject: [PATCH] CMake: removing unnecessary precedence of shared MED library detection --- salome_adm/cmake_files/FindMEDFile.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2