CMake: rollback of previous changes

This commit is contained in:
mpa 2013-10-23 14:17:20 +00:00
parent feef20b720
commit a312ca18d1

View File

@ -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}"