From ae596fafcaf6880dae7c9079d3380d98a81a6c45 Mon Sep 17 00:00:00 2001 From: Gavin Ridley Date: Wed, 10 Feb 2021 12:28:20 -0500 Subject: [PATCH] provide messages if using system fmt or pugixml Co-authored-by: Paul Romano --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02c8e1f235..f21ddf6485 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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