]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Compatibility GHS3DPRLPLUGIN
authoradam <adam>
Tue, 23 Mar 2010 09:32:33 +0000 (09:32 +0000)
committeradam <adam>
Tue, 23 Mar 2010 09:32:33 +0000 (09:32 +0000)
salome_adm/cmake_files/am2cmake.py

index 97df6132f673a0e772c7a79d9748a687f5355cba..0bd3465207d7087672aac80bd15803511671f118 100644 (file)
@@ -514,7 +514,7 @@ class CMakeFile(object):
                         INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindBLSURF.cmake)
                         """)
                         pass
-                    if self.module == "hexoticplugin":
+                    if self.module in ["ghs3dplugin", "hexoticplugin"]:
                         newlines.append("""
                         SET(GEOM_ROOT_DIR $ENV{GEOM_ROOT_DIR})
                         SET(MED_ROOT_DIR $ENV{MED_ROOT_DIR})
@@ -524,12 +524,13 @@ class CMakeFile(object):
                         INCLUDE(${SMESH_ROOT_DIR}/adm_local/cmake_files/FindSMESH.cmake)
                         """)
                         pass
-                    if self.module == "ghs3dplugin":
+                    if self.module == "ghs3dprlplugin":
                         newlines.append("""
                         SET(GEOM_ROOT_DIR $ENV{GEOM_ROOT_DIR})
                         SET(MED_ROOT_DIR $ENV{MED_ROOT_DIR})
                         SET(SMESH_ROOT_DIR $ENV{SMESH_ROOT_DIR})
                         INCLUDE(${GEOM_ROOT_DIR}/adm_local/cmake_files/FindGEOM.cmake)
+                        INCLUDE(${MED_ROOT_DIR}/adm_local/cmake_files/FindMEDFILE.cmake)
                         INCLUDE(${MED_ROOT_DIR}/adm_local/cmake_files/FindMED.cmake)
                         INCLUDE(${SMESH_ROOT_DIR}/adm_local/cmake_files/FindSMESH.cmake)
                         """)
@@ -630,6 +631,11 @@ class CMakeFile(object):
                 SET(GHS3DPLUGIN_ENABLE_GUI ON)
                 """)
                 pass
+            elif self.module == "ghs3dprlplugin":
+                newlines.append("""
+                SET(GHS3DPRLPLUGIN_ENABLE_GUI ON)
+                """)
+                pass
             elif self.module == "yacs":
                 newlines.append("""
                 SET(SALOME_KERNEL ON)