From 768d6fd33758dab7a60e57f65824ffa84a77a080 Mon Sep 17 00:00:00 2001 From: "Maintenance team (INV)" Date: Mon, 25 Jan 2016 21:33:12 +0300 Subject: [PATCH] Synchronize adm files --- cmake_files/SalomeMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_files/SalomeMacros.cmake b/cmake_files/SalomeMacros.cmake index 1d05bc0b6..25a22bdf7 100644 --- a/cmake_files/SalomeMacros.cmake +++ b/cmake_files/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() -- 2.39.2