Skip to content

Commit

Permalink
Allow rapids-cmake's version file to be overridden. (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper authored Nov 1, 2024
1 parent adbf5dc commit 31b784e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ include(rapids-cuda)
include(rapids-export)
include(rapids-find)

set(RAPIDS_CMAKE_CPM_OVERRIDE_VERSION_FILE ${CMAKE_CURRENT_SOURCE_DIR}/cmake/versions.json)
rapids_cpm_init()
rapids_cpm_package_override("${CMAKE_CURRENT_SOURCE_DIR}/cmake/versions.json")

if(NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
include(rapids-cuda)
Expand Down

0 comments on commit 31b784e

Please sign in to comment.