From 57cf9ae20ea56793ecbfe292bb45a08e099794dc Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 27 Feb 2009 10:27:21 +0000 Subject: [PATCH] Compatibility VISU --- salome_adm/cmake_files/am2cmake.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index bfaf2b583..97e3663f6 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -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 # -- -- 2.39.2