From: rnc Date: Fri, 5 Jul 2013 15:44:47 +0000 (+0000) Subject: forgot to remove a line X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c7c94f2ad44ffa00a5e68862e4294bfca04299d1;p=modules%2Fyacs.git forgot to remove a line --- 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))