Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 3274062

Browse files
authored
Merge pull request #1488 from allisonvacanti/fix_find_installed_cub
Fix path to installed cub in thrust-config.cmake [NVBug 3340746]
2 parents bd63dd1 + f3ff0d7 commit 3274062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thrust/cmake/thrust-config.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ macro(_thrust_find_CUDA required)
503503
NO_DEFAULT_PATH # Only check the explicit HINTS below:
504504
HINTS
505505
"${_THRUST_INCLUDE_DIR}/dependencies/cub" # Source layout
506-
"${_THRUST_INCLUDE_DIR}/.." # Install layout
506+
"${_THRUST_CMAKE_DIR}/.." # Install layout
507507
)
508508

509509
if (TARGET CUB::CUB)

0 commit comments

Comments
 (0)