Skip to content

Commit f3ff0d7

Browse files
committed
Fix path to installed cub in thrust-config.cmake.
Bug 3340746
1 parent bd63dd1 commit f3ff0d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thrust/cmake/thrust-config.cmake

Lines changed: 1 addition & 1 deletion
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)