CMake: Fix fmt target check
This commit is contained in:
parent
e4146ec3a1
commit
55bede81f8
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ if (NOT TARGET boost)
|
||||||
target_include_directories(boost SYSTEM INTERFACE ${Boost_INCLUDE_DIRS})
|
target_include_directories(boost SYSTEM INTERFACE ${Boost_INCLUDE_DIRS})
|
||||||
endif()
|
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)
|
find_package(fmt REQUIRED)
|
||||||
add_library(fmt ALIAS fmt::fmt)
|
add_library(fmt ALIAS fmt::fmt)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue