Salome HOME
Copyright update: 2016
[samples/pycalculator.git] / adm_local / cmake_files / FindSalomePYCALCULATOR.cmake
index 5eaa5e377ef0df9afa96f53bdbffe51c0ddc3abb..001062f1501dc63ff81041726c1053f5d7f130f6 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 SalomePYCALCULATOR_FIND_QUIETLY)
   MESSAGE(STATUS "Looking for Salome PYCALCULATOR ...")
@@ -27,4 +26,8 @@ SALOME_FIND_PACKAGE(SalomePYCALCULATOR SalomePYCALCULATOR CONFIG)
 
 IF(NOT SalomePYCALCULATOR_FIND_QUIETLY)
   MESSAGE(STATUS "Found Salome PYCALCULATOR: ${PYCALCULATOR_ROOT_DIR}")
-ENDIF()
\ No newline at end of file
+ENDIF()
+
+FOREACH(_res ${SalomePYCALCULATOR_EXTRA_ENV})
+  SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomePYCALCULATOR_EXTRA_ENV_${_res}}")
+ENDFOREACH()
\ No newline at end of file