From fe8a50e697ba363b44615d97749e3cdc313155bf Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 6 Aug 2018 13:42:21 +0300 Subject: [PATCH] 23582: [CEA] Rename MED module to FIELDS --- ...dSalomeMED.cmake => FindSalomeFIELD.cmake} | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) rename cmake/{FindSalomeMED.cmake => FindSalomeFIELD.cmake} (60%) diff --git a/cmake/FindSalomeMED.cmake b/cmake/FindSalomeFIELD.cmake similarity index 60% rename from cmake/FindSalomeMED.cmake rename to cmake/FindSalomeFIELD.cmake index 9b3701e..4e11a59 100644 --- a/cmake/FindSalomeMED.cmake +++ b/cmake/FindSalomeFIELD.cmake @@ -19,28 +19,28 @@ # Author: Adrien Bruneton # -# MED detection for Salome - this is typically called by dependent modules +# FIELD detection for Salome - this is typically called by dependent modules # (PARAVIS, etc ...) # # The detection is simpler than for other prerequisites. # See explanation in FindSalomeKERNEL.cmake. # -IF(NOT SalomeMED_FIND_QUIETLY) - MESSAGE(STATUS "Looking for Salome MED ...") +IF(NOT SalomeFIELD_FIND_QUIETLY) + MESSAGE(STATUS "Looking for Salome FIELD ...") ENDIF() -SET(CMAKE_PREFIX_PATH "${MED_ROOT_DIR}") -SALOME_FIND_PACKAGE(SalomeMED SalomeMED CONFIG) +SET(CMAKE_PREFIX_PATH "${FIELD_ROOT_DIR}") +SALOME_FIND_PACKAGE(SalomeFIELD SalomeFIELD CONFIG) -IF(NOT SalomeMED_FIND_QUIETLY) - MESSAGE(STATUS "Found Salome MED: ${MED_ROOT_DIR}") +IF(NOT SalomeFIELD_FIND_QUIETLY) + MESSAGE(STATUS "Found Salome FIELD: ${FIELD_ROOT_DIR}") ENDIF() -FIND_LIBRARY(medcouplingcorba medcouplingcorba ${MED_ROOT_DIR}/lib/salome) -FIND_LIBRARY(medcouplingclient medcouplingclient ${MED_ROOT_DIR}/lib/salome) -FIND_LIBRARY(SalomeIDLMED SalomeIDLMED ${MED_ROOT_DIR}/lib/salome) +FIND_LIBRARY(medcouplingcorba medcouplingcorba ${FIELD_ROOT_DIR}/lib/salome) +FIND_LIBRARY(medcouplingclient medcouplingclient ${FIELD_ROOT_DIR}/lib/salome) +FIND_LIBRARY(SalomeIDLMED SalomeIDLMED ${FIELD_ROOT_DIR}/lib/salome) -FOREACH(_res ${SalomeMED_EXTRA_ENV}) - SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomeMED_EXTRA_ENV_${_res}}") +FOREACH(_res ${SalomeFIELD_EXTRA_ENV}) + SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomeFIELD_EXTRA_ENV_${_res}}") ENDFOREACH() \ No newline at end of file -- 2.39.2