]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix error preventing normal configuration with direct specifying of product directory...
authorvsr <vsr@opencascade.com>
Tue, 19 Jan 2016 14:46:24 +0000 (17:46 +0300)
committervsr <vsr@opencascade.com>
Tue, 19 Jan 2016 14:46:24 +0000 (17:46 +0300)
salome_adm/cmake_files/SalomeMacros.cmake

index 445e75ba05ab7fad7f9416c181a25f88aed139e7..34f85786d2d062f94631dfcefe31e824c1774635 100644 (file)
@@ -507,7 +507,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{${_envvar}})
+  IF(DEFINED ${_envvar})
     SET(CMAKE_PREFIX_PATH "${${_envvar}}")
   ENDIF()