]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Compatibility VISU
authoradam <adam>
Fri, 27 Feb 2009 10:27:21 +0000 (10:27 +0000)
committeradam <adam>
Fri, 27 Feb 2009 10:27:21 +0000 (10:27 +0000)
salome_adm/cmake_files/am2cmake.py

index bfaf2b5836d8eedcc9ce7b1cf8483c36ff01edaf..97e3663f6b470529ae88e8d1fe5e082c85f6ae32 100644 (file)
@@ -502,6 +502,12 @@ class CMakeFile(object):
                         INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindNETGEN.cmake)
                         """)
                         pass
+                    if self.module == "visu":
+                        newlines.append("""
+                        SET(MED_ROOT_DIR $ENV{MED_ROOT_DIR})
+                        INCLUDE(${MED_ROOT_DIR}/adm_local/cmake_files/FindMED.cmake)
+                        """)
+                        pass
                     pass
                 pass
             # --