Merge pull request #12768 from guijan/fmt-pc

use pkg-config to find libfmt
This commit is contained in:
Admiral H. Curtiss 2024-05-21 22:36:56 +02:00 committed by GitHub
commit c8ea116658
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -628,7 +628,9 @@ if (_M_X86_64)
endif()
add_subdirectory(Externals/cpp-optparse)
dolphin_find_optional_system_library(fmt Externals/fmt 10.1)
dolphin_find_optional_system_library_pkgconfig(FMT
fmt>=10.1 fmt::fmt Externals/fmt
)
add_subdirectory(Externals/imgui)
add_subdirectory(Externals/implot)