mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
GetPrerequisites: Add GET_PREREQUISITES_VERBOSE to set verbose
This commit is contained in:
committed by
Craig Scott
parent
5072598f07
commit
1bac4678ea
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user