mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
GetPrerequisites: Add GET_PREREQUISITES_VERBOSE to set verbose
This commit is contained in:
1 parent
5072598f07
commit
1bac4678ea
1 file changed
+7
@@ -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