From: Maintenance team (INV) Date: Mon, 25 Jan 2016 18:33:30 +0000 (+0300) Subject: Synchronize adm files X-Git-Tag: V7_8_0a2~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d08888e077573ac8bc770c15a8cb3abd327aedc2;p=tools%2Fdocumentation.git Synchronize adm files --- diff --git a/CMakeModules/SalomeMacros.cmake b/CMakeModules/SalomeMacros.cmake index 1d05bc0..25a22bd 100644 --- a/CMakeModules/SalomeMacros.cmake +++ b/CMakeModules/SalomeMacros.cmake @@ -503,7 +503,7 @@ MACRO(SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS pkg referenceVariable upCount) # Override the variable - don't append to it, as it would give precedence # to what was stored there before! - IF(DEFINED ENV{${pkg_UC}_ROOT_DIR}) + IF(DEFINED ${pkg_UC}_ROOT_DIR) SET(CMAKE_PREFIX_PATH "${${pkg_UC}_ROOT_DIR}") ENDIF()