-# Copyright (C) 2012-2021 CEA/DEN, EDF R&D
+# Copyright (C) 2012-2022 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# (see PyWrapping source directory)
#
-INCLUDE(tests.set)
+IF(MEDCOUPLING_BUILD_PY_TESTS)
+ INCLUDE(tests.set)
+ENDIF()
SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_CURRENT_BINARY_DIR}/../../PyWrapping)
SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)