Salome HOME
0022071: EDF 2497 PARAVIS : Porting of VISU tests for PARAVIS
[modules/paravis.git] / wrapfiles.cmake
index a5aabc1a9fa5bed411ebbb20d5273ae810a824d7..631f42512ef31131fb17c2af153fbeec469aab3f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2012  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2013  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
@@ -19,6 +19,6 @@
 
 ADD_CUSTOM_COMMAND(
  OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/wrapfiles.txt
- COMMAND pvpython ${CMAKE_SOURCE_DIR}/getwrapclasses.py
+ COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/getwrapclasses.py
  DEPENDS ${CMAKE_SOURCE_DIR}/getwrapclasses.py ${PARAVIEW_PYTHON_EXECUTABLE}
 )