Merge pull request #651 from ameerj/fmt-cmake

externals/cmake: Fix fmt target check
This commit is contained in:
Mai M 2021-10-12 14:33:36 -04:00 committed by GitHub
commit cce7e4ee5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ endif()
# fmt # fmt
if (NOT TARGET fmt) if (NOT TARGET fmt AND NOT TARGET fmt::fmt)
# fmtlib formatting library # fmtlib formatting library
add_subdirectory(fmt) add_subdirectory(fmt)
endif() endif()