]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Build SALOME on win32 platform.
authorrnv <rnv@opencascade.com>
Fri, 27 Jan 2012 08:15:25 +0000 (08:15 +0000)
committerrnv <rnv@opencascade.com>
Fri, 27 Jan 2012 08:15:25 +0000 (08:15 +0000)
salome_adm/cmake_files/am2cmake.py

index 87dea07a22c191d5e29068cc2c3c69a01b095f26..03a650dab9391924230bbb0d31d0db72774d72fc 100644 (file)
@@ -1612,13 +1612,13 @@ class CMakeFile(object):
             
             ADD_CUSTOM_COMMAND(
             OUTPUT QDialogTest.ui QDialogTest.hxx QDialogTest.cxx
-            COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/dlgfactory.py -n QDialogTest -t qdialog
+            COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/dlgfactory.py -n QDialogTest -t qdialog
             DEPENDS __QDIALOG__.ui __QDIALOG__.hxx __QDIALOG__.cxx dlgfactory.py
             )
             
             ADD_CUSTOM_COMMAND(
             OUTPUT GDialogTest.ui GDialogTest.hxx GDialogTest.cxx
-            COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/dlgfactory.py -n GDialogTest -t gdialog
+            COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/dlgfactory.py -n GDialogTest -t gdialog
             DEPENDS __GDIALOG__.ui __GDIALOG__.hxx __GDIALOG__.cxx dlgfactory.py
             )
             ''')