From ebb5d9b8e81ca8d7d4b239b4f48535e29696399c Mon Sep 17 00:00:00 2001 From: mpa Date: Wed, 23 Oct 2013 14:15:11 +0000 Subject: [PATCH] CMake: rollback of previous changes --- SalomeGUIConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SalomeGUIConfig.cmake.in b/SalomeGUIConfig.cmake.in index 65718af78..ff024cda2 100644 --- a/SalomeGUIConfig.cmake.in +++ b/SalomeGUIConfig.cmake.in @@ -88,7 +88,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}" -- 2.39.2