mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Build system: default to fmt shared library when available
This commit is contained in:
parent
15acce847d
commit
209db1f96c
@ -532,7 +532,13 @@ if (_M_X86)
|
|||||||
add_subdirectory(Externals/Bochs_disasm)
|
add_subdirectory(Externals/Bochs_disasm)
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(Externals/cpp-optparse)
|
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/glslang)
|
||||||
add_subdirectory(Externals/imgui)
|
add_subdirectory(Externals/imgui)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user