mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-16 06:02:58 +00:00
CMake: Fix fmt target check
This commit is contained in:
parent
e4146ec3a1
commit
55bede81f8
@ -122,7 +122,7 @@ if (NOT TARGET boost)
|
||||
target_include_directories(boost SYSTEM INTERFACE ${Boost_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
if (DYNARMIC_NO_BUNDLED_FMT AND NOT TARGET fmt)
|
||||
if (DYNARMIC_NO_BUNDLED_FMT AND NOT TARGET fmt AND NOT TARGET fmt::fmt)
|
||||
find_package(fmt REQUIRED)
|
||||
add_library(fmt ALIAS fmt::fmt)
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user