diff --git a/rapids-cmake/cpm/thrust.cmake b/rapids-cmake/cpm/thrust.cmake index e7b7461b..65138b51 100644 --- a/rapids-cmake/cpm/thrust.cmake +++ b/rapids-cmake/cpm/thrust.cmake @@ -115,8 +115,7 @@ function(rapids_cpm_thrust NAMESPACE namespaces_name) install(DIRECTORY "${Thrust_SOURCE_DIR}/thrust" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/rapids/thrust/" FILES_MATCHING - PATTERN "*.h" - PATTERN "*.inl") + REGEX "\\.(h|inl)$") install(DIRECTORY "${Thrust_SOURCE_DIR}/dependencies/cub/cub" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/rapids/thrust/dependencies/" FILES_MATCHING PATTERN "*.cuh")