From eb466ecb3890526a822b88dd459c2f70caa99458 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 17 Mar 2011 11:05:03 +0000 Subject: [PATCH] Activate Cancel Compute for cmake --- salome_adm/cmake_files/am2cmake.py | 6 ++++++ 1 file changed, 6 insertions(+) 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: -- 2.39.2