]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Activate Cancel Compute for cmake
authoradam <adam>
Thu, 17 Mar 2011 11:05:03 +0000 (11:05 +0000)
committeradam <adam>
Thu, 17 Mar 2011 11:05:03 +0000 (11:05 +0000)
salome_adm/cmake_files/am2cmake.py

index 6620e5fed356fc2880a23eddb9a9aa7721b3674b..430f34e74811a60cfdfc2a385e6a68473e47417b 100644 (file)
@@ -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: