GetPrerequisites: Add GET_PREREQUISITES_VERBOSE to set verbose

This commit is contained in:
Alexander Grund
2018-12-16 17:14:23 +01:00
committed by Craig Scott
parent 5072598f07
commit 1bac4678ea

View File

@@ -63,6 +63,9 @@ searched first when a target without any path info is given. Then
standard system locations are also searched: PATH, Framework
locations, /usr/lib...
The variable GET_PREREQUISITES_VERBOSE can be set to true to enable verbose
output.
::
LIST_PREREQUISITES(<target> [<recurse> [<exclude_system> [<verbose>]]])
@@ -644,6 +647,10 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
set(rpaths "")
endif()
if(GET_PREREQUISITES_VERBOSE)
set(verbose 1)
endif()
if(NOT IS_ABSOLUTE "${target}")
message("warning: target '${target}' is not absolute...")
endif()