FindIce: Respect Ice_FIND_QUIETLY when printing messages
This commit is contained in:
parent
d5047ca1b2
commit
2131aeddaa
|
@ -240,7 +240,9 @@ function(_Ice_FIND)
|
|||
set(Ice_VERSION "${Ice_VERSION_SLICE2CPP_FULL}" PARENT_SCOPE)
|
||||
endif()
|
||||
|
||||
if(NOT Ice_FIND_QUIETLY)
|
||||
message(STATUS "Ice version: ${Ice_VERSION_SLICE2CPP_FULL}")
|
||||
endif()
|
||||
|
||||
# Find include directory
|
||||
find_path(Ice_INCLUDE_DIR
|
||||
|
@ -305,6 +307,7 @@ function(_Ice_FIND)
|
|||
set(_Ice_REQUIRED_LIBS_FOUND "${Ice_REQUIRED_LIBS_FOUND}" PARENT_SCOPE)
|
||||
set(Ice_LIBRARY "${Ice_LIBRARY}" PARENT_SCOPE)
|
||||
|
||||
if(NOT Ice_FIND_QUIETLY)
|
||||
if(Ice_LIBS_FOUND)
|
||||
message(STATUS "Found the following Ice libraries:")
|
||||
foreach(found ${Ice_LIBS_FOUND})
|
||||
|
@ -317,6 +320,7 @@ function(_Ice_FIND)
|
|||
message(STATUS " ${notfound}")
|
||||
endforeach()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(Ice_DEBUG)
|
||||
message(STATUS "--------FindIce.cmake search debug--------")
|
||||
|
|
Loading…
Reference in New Issue