Improve warning messages.
This commit is contained in:
parent
7b28804f67
commit
c10945b6af
|
@ -386,6 +386,8 @@ function(gp_resolve_item context item exepath dirs resolved_item_var)
|
||||||
set(resolved 1)
|
set(resolved 1)
|
||||||
set(resolved_item "${ri}")
|
set(resolved_item "${ri}")
|
||||||
set(ri "ri-NOTFOUND")
|
set(ri "ri-NOTFOUND")
|
||||||
|
else()
|
||||||
|
message(STATUS "warning: '${norpath_item}' not found under exepath (${exepath}), dirs (${dirs}), or rpaths (${rpaths})")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
@ -450,8 +452,7 @@ function(gp_resolve_item context item exepath dirs resolved_item_var)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT resolved)
|
if(NOT resolved)
|
||||||
message(STATUS "
|
message(STATUS "warning: cannot resolve item '${item}'
|
||||||
warning: cannot resolve item '${item}'
|
|
||||||
|
|
||||||
possible problems:
|
possible problems:
|
||||||
need more directories?
|
need more directories?
|
||||||
|
|
Loading…
Reference in New Issue