externals/cmake: Fix fmt target check

This commit is contained in:
ameerj 2021-10-11 13:42:05 -04:00
parent b87a889d98
commit 4cfbbe3df2

View file

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