From: mpa Date: Wed, 23 Oct 2013 14:17:20 +0000 (+0000) Subject: CMake: rollback of previous changes X-Git-Tag: V7_3_0a1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a312ca18d1820f1d2a810fdfc9e3dc71227253da;p=plugins%2Fnetgenplugin.git CMake: rollback of previous changes --- diff --git a/SalomeNETGENPLUGINConfig.cmake.in b/SalomeNETGENPLUGINConfig.cmake.in index fcf2f06..b1ce054 100644 --- a/SalomeNETGENPLUGINConfig.cmake.in +++ b/SalomeNETGENPLUGINConfig.cmake.in @@ -74,7 +74,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}"