]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix problem with cmake-based build procedure - in "light" mode Python is not initiali...
authorvsr <vsr@opencascade.com>
Wed, 23 Nov 2011 07:47:31 +0000 (07:47 +0000)
committervsr <vsr@opencascade.com>
Wed, 23 Nov 2011 07:47:31 +0000 (07:47 +0000)
salome_adm/cmake_files/am2cmake.py

index ee59d279cf15dca635936260d282074bbafe703d..10e8253fd0cab6a456f590d6aee0f4004a34a2e4 100644 (file)
@@ -814,8 +814,8 @@ class CMakeFile(object):
             if self.module == "gui":
                 newlines.append(r'''
                 IF(KERNEL_ROOT_DIR)
-                SET(AM_CPPFLAGS ${AM_CPPFLAGS} -DWITH_SALOMEDS_OBSERVER)
-                SET(AM_CXXFLAGS ${AM_CXXFLAGS} -DWITH_SALOMEDS_OBSERVER)
+                SET(AM_CPPFLAGS ${AM_CPPFLAGS} -DWITH_SALOMEDS_OBSERVER -DSUIT_ENABLE_PYTHON)
+                SET(AM_CXXFLAGS ${AM_CXXFLAGS} -DWITH_SALOMEDS_OBSERVER -DSUIT_ENABLE_PYTHON)
                 ENDIF(KERNEL_ROOT_DIR)
                 ''')
                 pass