]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Definiton of MODULE variable for cmake
authoradam <adam>
Fri, 4 Mar 2011 09:39:33 +0000 (09:39 +0000)
committeradam <adam>
Fri, 4 Mar 2011 09:39:33 +0000 (09:39 +0000)
salome_adm/cmake_files/am2cmake.py

index f28fe8afc32f4c37ee5f46ecf4c1f7f78c440a4c..6620e5fed356fc2880a23eddb9a9aa7721b3674b 100644 (file)
@@ -466,6 +466,10 @@ class CMakeFile(object):
             ENABLE_TESTING()
             """)
             # --
+            newlines.append("""
+            SET(MODULE %s)
+            """%(self.module.upper()))
+            # --
             if self.module == "kernel":
                 newlines.append("""
                 INCLUDE(${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/FindPLATFORM.cmake)