Salome HOME
updated copyright message
[samples/randomizer.git] / adm_local / cmake_files / FindSalomeRANDOMIZER.cmake
index 21875c6e42b0847a5eda00b9736bad1e0c0f29b7..1c26f44d09cd21df51396fa9adb6c1e01af7e6b5 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2013-2023  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 SalomeRANDOMIZER_FIND_QUIETLY)
   MESSAGE(STATUS "Looking for Salome RANDOMIZER ...")
@@ -27,4 +26,8 @@ SALOME_FIND_PACKAGE(SalomeRANDOMIZER SalomeRANDOMIZER CONFIG)
 
 IF(NOT SalomeRANDOMIZER_FIND_QUIETLY)
   MESSAGE(STATUS "Found Salome RANDOMIZER: ${RANDOMIZER_ROOT_DIR}")
-ENDIF()
\ No newline at end of file
+ENDIF()
+
+FOREACH(_res ${SalomeRANDOMIZER_EXTRA_ENV})
+  SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomeRANDOMIZER_EXTRA_ENV_${_res}}")
+ENDFOREACH()
\ No newline at end of file