From f039596c40cd8ec025d3de9c986d75d74ebaae04 Mon Sep 17 00:00:00 2001 From: ptaylor Date: Wed, 23 Jun 2021 09:15:16 -0500 Subject: [PATCH] export and install spdlog in rmm exports set if found --- cmake/thirdparty/get_spdlog.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/thirdparty/get_spdlog.cmake b/cmake/thirdparty/get_spdlog.cmake index 954512b06..4ee220624 100644 --- a/cmake/thirdparty/get_spdlog.cmake +++ b/cmake/thirdparty/get_spdlog.cmake @@ -21,8 +21,6 @@ function(find_and_configure_spdlog VERSION) rapids_cpm_find( spdlog ${VERSION} - BUILD_EXPORT_SET rmm-exports - INSTALL_EXPORT_SET rmm-exports CPM_ARGS GIT_REPOSITORY https://github.com/gabime/spdlog.git GIT_TAG v${VERSION} @@ -31,6 +29,9 @@ function(find_and_configure_spdlog VERSION) # spdlog if(spdlog_ADDED) install(TARGETS spdlog_header_only EXPORT rmm-exports) + else() + rapids_export_package(BUILD spdlog rmm-exports) + rapids_export_package(INSTALL spdlog rmm-exports) endif() endfunction()