From a6d00edde5954b5b823fa05d539bed5be248fd66 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 25 Apr 2021 12:02:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20CMake:=20Log=20which=20fmt=20is?= =?UTF-8?q?=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 420a6dae2..b6256c7a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,6 +178,11 @@ endif() if(DEVILUTIONX_SYSTEM_LIBFMT) set(fmt_USE_STATIC_LIBS ${DEVILUTIONX_STATIC_LIBFMT}) find_package(fmt 7.0.0 QUIET) + if(fmt_FOUND) + message("-- Found fmt ${fmt_VERSION}") + else() + message("-- Suitable system fmt package not found, will use fmt from source") + endif() endif() if(NOT fmt_FOUND) add_subdirectory(3rdParty/libfmt)