diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-10-31 12:57:25 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-10-31 12:57:25 +1000 |
commit | 9ce815ab5504104379e2f1ed2e8a550b1d3d566a (patch) | |
tree | 007cf93cc581224285da7a3b249cefb8d858ca0c | |
parent | d37c91b7640c61f3334be352f8b7e1ce336b6ad8 (diff) |
[cmake] FindFmt fix internal build without existing fmt lib
-rw-r--r-- | cmake/modules/FindFmt.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/FindFmt.cmake b/cmake/modules/FindFmt.cmake index abecba501f..7f0023be05 100644 --- a/cmake/modules/FindFmt.cmake +++ b/cmake/modules/FindFmt.cmake @@ -40,6 +40,8 @@ if((NOT TARGET fmt::fmt OR Fmt_FIND_REQUIRED) AND NOT TARGET fmt) if(FMT_VERSION VERSION_LESS ${Fmt_FIND_VERSION}) set(FORCE_BUILD ON) endif() + else() + set(FORCE_BUILD ON) endif() if(${FORCE_BUILD} OR FMT_VERSION VERSION_LESS ${${MODULE}_VER}) |