Salome HOME
Copyright update: 2016
[samples/pyhello.git] / adm_local / cmake_files / FindSalomePYHELLO.cmake
index 7e5caa6d3786818d7ba895d08ced29143dd60d3b..43622d155c6396889193abee3f9a78c7596be17d 100644 (file)
@@ -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()