Salome HOME
Revert "Synchronize adm files"
[samples/light.git] / adm_local / cmake_files / FindSalomeLIGHT.cmake
index d7aa24ac3e30a07a1e9f7d8c2a5363991136a370..cba3902b136ed64e93f1f15b4d9140d4f7b51112 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2013-2014  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 SalomeLIGHT_FIND_QUIETLY)
   MESSAGE(STATUS "Looking for Salome LIGHT ...")
@@ -29,3 +28,7 @@ SALOME_FIND_PACKAGE(SalomeLIGHT SalomeLIGHT CONFIG)
 IF(NOT SalomeLIGHT_FIND_QUIETLY)
   MESSAGE(STATUS "Found Salome LIGHT: ${LIGHT_ROOT_DIR}")
 ENDIF()
+
+FOREACH(_res ${SalomeLIGHT_EXTRA_ENV})
+  SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomeLIGHT_EXTRA_ENV_${_res}}")
+ENDFOREACH()
\ No newline at end of file