X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=adm_local%2Fcmake_files%2FFindSalomePYHELLO.cmake;h=43622d155c6396889193abee3f9a78c7596be17d;hb=f6f53e8e7b8f630fe1f3f391fe595075c929d385;hp=7e5caa6d3786818d7ba895d08ced29143dd60d3b;hpb=51330c5fd253e0f16d7d93933210ae2bba2a7aa0;p=samples%2Fpyhello.git diff --git a/adm_local/cmake_files/FindSalomePYHELLO.cmake b/adm_local/cmake_files/FindSalomePYHELLO.cmake index 7e5caa6..43622d1 100644 --- a/adm_local/cmake_files/FindSalomePYHELLO.cmake +++ b/adm_local/cmake_files/FindSalomePYHELLO.cmake @@ -1,9 +1,9 @@ -# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2016 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 SalomePYHELLO_FIND_QUIETLY) MESSAGE(STATUS "Looking for Salome PYHELLO ...") @@ -27,4 +26,8 @@ SALOME_FIND_PACKAGE(SalomePYHELLO SalomePYHELLO CONFIG) IF(NOT SalomePYHELLO_FIND_QUIETLY) MESSAGE(STATUS "Found Salome PYHELLO: ${PYHELLO_ROOT_DIR}") -ENDIF() \ No newline at end of file +ENDIF() + +FOREACH(_res ${SalomePYHELLO_EXTRA_ENV}) + SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomePYHELLO_EXTRA_ENV_${_res}}") +ENDFOREACH()