From 25575777645432305eb611bf7a66e730e3c2c624 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 23 Mar 2010 09:32:33 +0000 Subject: [PATCH] Compatibility GHS3DPRLPLUGIN --- salome_adm/cmake_files/am2cmake.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 97df6132f..0bd346520 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -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) -- 2.39.2