Salome HOME
Copyright update 2022
[modules/gui.git] / src / SALOME_PY / CMakeLists.txt
old mode 100755 (executable)
new mode 100644 (file)
index 59a73c7..39104b1
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2022  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
@@ -17,8 +17,6 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-INCLUDE(${VTK_USE_FILE})
-
 # --- options ---
 
 # additional include directories
@@ -49,7 +47,6 @@ SET(_link_LIBRARIES
   ${PYTHON_LIBRARIES}
   ${QT_LIBRARIES}
   ${OPENGL_LIBRARIES}
-  ${VTK_LIBRARIES}
   LightApp
 )
 
@@ -65,3 +62,7 @@ IF(WIN32)
 ENDIF(WIN32)
 
 # TODO: check if PYTHON_ADD_MODULE() macro can be used to build this target
+
+# --- tests ---
+
+ADD_TEST(NAME GUI_libSalomePy COMMAND ${PYTHON_EXECUTABLE} -B ${CMAKE_CURRENT_SOURCE_DIR}/test_vtk_rendering_module.py)