Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion rapids-cmake/cpm/spdlog.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ function(rapids_cpm_spdlog)
include("${rapids-cmake-dir}/cpm/detail/generate_patch_command.cmake")
rapids_cpm_generate_patch_command(spdlog ${version} patch_command)

# Add fmt in the case where we need to fetch spdlog from source
include("${rapids-cmake-dir}/cpm/fmt.cmake")
rapids_cpm_fmt(BUILD_EXPORT_SET spdlog INSTALL_EXPORT_SET spdlog)

include("${rapids-cmake-dir}/cpm/find.cmake")
rapids_cpm_find(spdlog ${version} ${ARGN}
GLOBAL_TARGETS spdlog::spdlog spdlog::spdlog_header_only
Expand All @@ -71,7 +75,7 @@ function(rapids_cpm_spdlog)
GIT_SHALLOW ${shallow}
PATCH_COMMAND ${patch_command}
EXCLUDE_FROM_ALL ${exclude}
OPTIONS "SPDLOG_INSTALL ${to_install}")
OPTIONS "SPDLOG_INSTALL ${to_install}" "SPDLOG_FMT_EXTERNAL_HO ON")

include("${rapids-cmake-dir}/cpm/detail/display_patch_status.cmake")
rapids_cpm_display_patch_status(spdlog)
Expand Down
2 changes: 1 addition & 1 deletion rapids-cmake/cpm/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"git_tag" : "branch-${version}"
},
"spdlog" : {
"version" : "1.8.5",
"version" : "1.11.0",
"git_url" : "https://github.com/gabime/spdlog.git",
"git_tag" : "v${version}"
},
Expand Down