Browse Source

🔨 CMake: Log which fmt is used

pull/1696/head
Gleb Mazovetskiy 5 years ago committed by Anders Jenbo
parent
commit
a6d00edde5
  1. 5
      CMakeLists.txt

5
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)

Loading…
Cancel
Save