provide messages if using system fmt or pugixml

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Gavin Ridley 2021-02-10 12:28:20 -05:00 committed by GitHub
parent 69cabe003c
commit ae596fafca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,17 @@ endif()
# If not found, we just pull appropriate versions from github and build them.
find_package(fmt QUIET)
if(fmt_FOUND)
message(STATUS "Found fmt: ${fmt_DIR} (version ${fmt_VERSION})")
else()
message(STATUS "Did not find fmt, will use submodule instead")
endif()
find_package(pugixml QUIET)
if(pugixml_FOUND)
message(STATUS "Found pugixml: ${pugixml_DIR}")
else()
message(STATUS "Did not find pugixml, will use submodule instead")
endif()
#===============================================================================
# HDF5 for binary output