nghttp2: Skip "Using system-installed" message if using system curl
We only use the system nghttp2 when `CMAKE_USE_SYSTEM_NGHTTP2` is ON and `CMAKE_USE_SYSTEM_CURL` is OFF.
This commit is contained in:
parent
648a7fb9b9
commit
d224c018fe
@ -215,6 +215,10 @@ macro(CMAKE_HANDLE_SYSTEM_LIBRARIES)
|
||||
mark_as_advanced(CMAKE_USE_SYSTEM_KWIML)
|
||||
|
||||
# Mention to the user what system libraries are being used.
|
||||
if(CMAKE_USE_SYSTEM_CURL)
|
||||
# Avoid messaging about curl-only dependencies.
|
||||
list(REMOVE_ITEM UTILITIES NGHTTP2)
|
||||
endif()
|
||||
foreach(util IN LISTS UTILITIES ITEMS KWIML)
|
||||
if(CMAKE_USE_SYSTEM_${util})
|
||||
message(STATUS "Using system-installed ${util}")
|
||||
|
Loading…
Reference in New Issue
Block a user