From: adam Date: Fri, 27 Feb 2009 10:27:21 +0000 (+0000) Subject: Compatibility VISU X-Git-Tag: V5_1_1a2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57cf9ae20ea56793ecbfe292bb45a08e099794dc;p=modules%2Fkernel.git Compatibility VISU --- 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 # --