Skip to content

Commit

Permalink
rapids_cpm_cccl uses the proper CCCL version value to compute install…
Browse files Browse the repository at this point in the history
… rules
  • Loading branch information
robertmaynard committed Jan 13, 2025
1 parent 549c677 commit 2043de5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rapids-cmake/cpm/cccl.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#=============================================================================
# Copyright (c) 2023-2024, NVIDIA CORPORATION.
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -103,7 +103,7 @@ function(rapids_cpm_cccl)
set_property(GLOBAL PROPERTY rapids_cmake_cccl_install_rules ON)
# CCCL < 2.8 does not currently correctly support installation of cub/thrust/libcudacxx in a
# subdirectory
if(version VERSION_LESS 2.8)
if(CCCL_VERSION VERSION_LESS 2.8)
set(Thrust_SOURCE_DIR "${CCCL_SOURCE_DIR}/thrust")
set(CUB_SOURCE_DIR "${CCCL_SOURCE_DIR}/cub")
set(libcudacxx_SOURCE_DIR "${CCCL_SOURCE_DIR}/libcudacxx")
Expand Down

0 comments on commit 2043de5

Please sign in to comment.