From: vsr Date: Wed, 23 Nov 2011 07:47:31 +0000 (+0000) Subject: Fix problem with cmake-based build procedure - in "light" mode Python is not initiali... X-Git-Tag: V6_4_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=801ee78072b9f93415882098a5bd35b384d1dd7f;p=modules%2Fkernel.git Fix problem with cmake-based build procedure - in "light" mode Python is not initialized by SUITApp --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index ee59d279c..10e8253fd 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -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