From fe55e009f8252461119d440d25b3bc8f97608a3d Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 4 Mar 2011 09:39:33 +0000 Subject: [PATCH] Definiton of MODULE variable for cmake --- salome_adm/cmake_files/am2cmake.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index f28fe8afc..6620e5fed 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -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) -- 2.39.2