From: adam Date: Tue, 23 Mar 2010 09:32:33 +0000 (+0000) Subject: Compatibility GHS3DPRLPLUGIN X-Git-Tag: V5_1_4a1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=25575777645432305eb611bf7a66e730e3c2c624;p=modules%2Fkernel.git Compatibility GHS3DPRLPLUGIN --- 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)