]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
CMake: rollback of previous changes
authormpa <mpa@opencascade.com>
Wed, 23 Oct 2013 14:17:04 +0000 (14:17 +0000)
committermpa <mpa@opencascade.com>
Wed, 23 Oct 2013 14:17:04 +0000 (14:17 +0000)
SalomeMEDConfig.cmake.in

index 21836be9f50da6244574d91849aac219cf83dc23..c0e2a02abd2c7d9360593fd6aee0bff07f8bee59 100644 (file)
@@ -94,7 +94,7 @@ MATH(EXPR _range "${_list_len}-1")
 FOREACH(_p RANGE ${_range})  
   LIST(GET _PREREQ            ${_p} _pkg    )
   LIST(GET _PREREQ_CONFIG_DIR ${_p} _pkg_dir)
-  IF(NOT _pkg_dir STREQUAL "")
+  IF(_pkg_dir)
      MESSAGE(STATUS "===> Reloading targets from ${_pkg} ...")
      FIND_PACKAGE(${_pkg} REQUIRED NO_MODULE 
           PATHS "${_pkg_dir}"