Skip to content
Permalink
Browse files
Merge pull request #8198 from mazes-80/system-fmt
Build system: default to fmt shared library when available
  • Loading branch information
leoetlino committed Mar 15, 2020
2 parents 33492e4 + 209db1f commit 97aaee1
Showing 1 changed file with 7 additions and 1 deletion.
@@ -532,7 +532,13 @@ if (_M_X86)
add_subdirectory(Externals/Bochs_disasm)
endif()
add_subdirectory(Externals/cpp-optparse)
add_subdirectory(Externals/fmt EXCLUDE_FROM_ALL)
find_package(fmt 6.0)
if(fmt_FOUND)
message(STATUS "Using shared fmt ${fmt_VERSION}")
else()
message(STATUS "Using static fmt from Externals")
add_subdirectory(Externals/fmt EXCLUDE_FROM_ALL)
endif()
add_subdirectory(Externals/glslang)
add_subdirectory(Externals/imgui)

0 comments on commit 97aaee1

Please sign in to comment.