Improve warning messages.

This commit is contained in:
Jeff Young 2022-07-06 10:04:44 -06:00
parent 7b28804f67
commit c10945b6af
1 changed files with 3 additions and 2 deletions

View File

@ -386,6 +386,8 @@ function(gp_resolve_item context item exepath dirs resolved_item_var)
set(resolved 1)
set(resolved_item "${ri}")
set(ri "ri-NOTFOUND")
else()
message(STATUS "warning: '${norpath_item}' not found under exepath (${exepath}), dirs (${dirs}), or rpaths (${rpaths})")
endif()
endif()
@ -450,8 +452,7 @@ function(gp_resolve_item context item exepath dirs resolved_item_var)
endif()
if(NOT resolved)
message(STATUS "
warning: cannot resolve item '${item}'
message(STATUS "warning: cannot resolve item '${item}'
possible problems:
need more directories?