Salome HOME
Merge branch 'V9_9_BR'
[tools/medcoupling.git] / src / PyWrapping / CTestTestfileInstall.cmake
index a5943b91a7d4a48a9d41a93b630480f3b7e35d57..37c275f286aade6bc8b7bcd87337c261e5217c31 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-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
@@ -17,7 +17,9 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-INCLUDE(tests.set)
+IF(MEDCOUPLING_BUILD_PY_TESTS)
+    INCLUDE(tests.set)
+ENDIF()
 
 FOREACH(tfile ${BASE_TESTS})
   GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)