From c7c94f2ad44ffa00a5e68862e4294bfca04299d1 Mon Sep 17 00:00:00 2001 From: rnc Date: Fri, 5 Jul 2013 15:44:47 +0000 Subject: [PATCH] forgot to remove a line --- salome_adm/cmake_files/FindSalomeOmniORBPy.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/salome_adm/cmake_files/FindSalomeOmniORBPy.cmake b/salome_adm/cmake_files/FindSalomeOmniORBPy.cmake index cf12fbe91..28b76e36e 100644 --- a/salome_adm/cmake_files/FindSalomeOmniORBPy.cmake +++ b/salome_adm/cmake_files/FindSalomeOmniORBPy.cmake @@ -26,8 +26,7 @@ IF(SalomeOmniORB_FOUND) # If no OMNIORBPY_ROOT_DIR is given, then try with OMNIORB_ROOT_DIR: - SET(OMNIORBPY_ROOT_DIR "$ENV{OMNIORBPY_ROOT_DIR}" CACHE PATH "Path to the OmniORB Python backend") - + IF(NOT OMNIORBPY_ROOT_DIR_EXP) SET(OMNIORBPY_ROOT_DIR "$ENV{OMNIORBPY_ROOT_DIR}" CACHE PATH "Path to the OmniORB Python backend") IF(EXISTS "${OMNIORB_ROOT_DIR}" AND (NOT OMNIORBPY_ROOT_DIR)) -- 2.39.2