Skip to content

Commit

Permalink
Update rapids-cmake functions to non-deprecated signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Oct 10, 2023
1 parent 7703b40 commit 43845a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,12 @@ install(FILES ${KvikIO_BINARY_DIR}/include/kvikio/version_config.hpp DESTINATION

include("${rapids-cmake-dir}/export/find_package_file.cmake")
rapids_export_find_package_file(
BUILD "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/FindcuFile.cmake" kvikio-exports
BUILD "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/FindcuFile.cmake"
EXPORT_SET kvikio-exports
)
rapids_export_find_package_file(
INSTALL "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/FindcuFile.cmake" kvikio-exports
INSTALL "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/FindcuFile.cmake"
EXPORT_SET kvikio-exports
)

set(doc_string
Expand Down
3 changes: 2 additions & 1 deletion cpp/cmake/thirdparty/get_gtest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function(find_and_configure_gtest)

include("${rapids-cmake-dir}/export/find_package_root.cmake")
rapids_export_find_package_root(
BUILD GTest [=[${CMAKE_CURRENT_LIST_DIR}]=] kvikio-testing-exports
BUILD GTest [=[${CMAKE_CURRENT_LIST_DIR}]=]
EXPORT_SET kvikio-testing-exports
)
endif()

Expand Down

0 comments on commit 43845a5

Please sign in to comment.