From: adam Date: Thu, 17 Mar 2011 11:05:03 +0000 (+0000) Subject: Activate Cancel Compute for cmake X-Git-Tag: Start_BR_19998_21191~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb466ecb3890526a822b88dd459c2f70caa99458;p=modules%2Fkernel.git Activate Cancel Compute for cmake --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 6620e5fed..430f34e74 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -803,6 +803,12 @@ class CMakeFile(object): ENDIF(KERNEL_ROOT_DIR) ''') pass + if self.module in ["smesh", "netgenplugin", "blsurfplugin"]: + newlines.append(r''' + SET(AM_CPPFLAGS ${AM_CPPFLAGS} -DWITH_SMESH_CANCEL_COMPUTE) + SET(AM_CXXFLAGS ${AM_CXXFLAGS} -DWITH_SMESH_CANCEL_COMPUTE) + ''') + pass if self.module == "hxx2salome": key = "_SRC" if self.the_root[-len(key):] != key: