|
|
|
|
@ -11,8 +11,16 @@ else()
|
|
|
|
|
set(BUILD_SHARED_LIBS ON) |
|
|
|
|
endif() |
|
|
|
|
include(FetchContent) |
|
|
|
|
FetchContent_Declare(libfmt |
|
|
|
|
URL https://github.com/fmtlib/fmt/archive/22d31b31f0e9b4e4654ba67ee881f3564c2cc297.tar.gz |
|
|
|
|
URL_HASH MD5=d4e8744846cb9e94a80aca932ed2d5c0 |
|
|
|
|
) |
|
|
|
|
if(NXDK) |
|
|
|
|
# branch: nxdk-2022-07-19 |
|
|
|
|
FetchContent_Declare(libfmt |
|
|
|
|
URL https://github.com/diasurgical/fmt/archive/16d67608437f4fb9d293e561b4ddbccf3815a097.tar.gz |
|
|
|
|
URL_HASH MD5=7ef45573ef301c250717c60458aa7536 |
|
|
|
|
) |
|
|
|
|
else() |
|
|
|
|
FetchContent_Declare(libfmt |
|
|
|
|
URL https://github.com/fmtlib/fmt/archive/22d31b31f0e9b4e4654ba67ee881f3564c2cc297.tar.gz |
|
|
|
|
URL_HASH MD5=d4e8744846cb9e94a80aca932ed2d5c0 |
|
|
|
|
) |
|
|
|
|
endif() |
|
|
|
|
FetchContent_MakeAvailableExcludeFromAll(libfmt) |
|
|
|
|
|