Force fmt to build static libs.

Otherwise it shows up in our export set when a parent project enables
BUILD_SHARED_LIBS
This commit is contained in:
Allison Vacanti
2021-10-28 12:39:14 -04:00
parent cda8d320cb
commit 7c740975dd

View File

@@ -5,6 +5,9 @@ rapids_cpm_find(fmt 7.1.3
GITHUB_REPOSITORY fmtlib/fmt
GIT_TAG 7.1.3
GIT_SHALLOW TRUE
OPTIONS
# Force static to keep fmt internal.
"BUILD_SHARED_LIBS OFF"
)
################################################################################