X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=adm_local%2Fcmake_files%2FFindSalomeSMESH.cmake;h=c433652b2a5737b047819cf01fe10847140161ff;hp=c316f9da8f339f990d8e3079a2c32d21fb70b918;hb=f90e1ea49e27e4188ba8bff184ec45f28fd3574a;hpb=1bd4ba8acdfe7ab1edc96a016836e174a393d445 diff --git a/adm_local/cmake_files/FindSalomeSMESH.cmake b/adm_local/cmake_files/FindSalomeSMESH.cmake index c316f9da8..c433652b2 100644 --- a/adm_local/cmake_files/FindSalomeSMESH.cmake +++ b/adm_local/cmake_files/FindSalomeSMESH.cmake @@ -1,9 +1,9 @@ -# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,7 +16,6 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -# IF(NOT SalomeSMESH_FIND_QUIETLY) MESSAGE(STATUS "Looking for Salome SMESH ...") @@ -29,3 +28,7 @@ SALOME_FIND_PACKAGE(SalomeSMESH SalomeSMESH CONFIG) IF(NOT SalomeSMESH_FIND_QUIETLY) MESSAGE(STATUS "Found Salome SMESH: ${SMESH_ROOT_DIR}") ENDIF() + +FOREACH(_res ${SalomeSMESH_EXTRA_ENV}) + SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomeSMESH_EXTRA_ENV_${_res}}") +ENDFOREACH() \ No newline at end of file