From 8b91e69e02e00e6c1757a7c3377fbccc0bfa4646 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Tue, 8 Nov 2022 10:48:30 -0500 Subject: [PATCH] Correct install(PATTERN) to match end of filenames --- cmake/ThrustInstallRules.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ThrustInstallRules.cmake b/cmake/ThrustInstallRules.cmake index 993dba153..98e72e196 100644 --- a/cmake/ThrustInstallRules.cmake +++ b/cmake/ThrustInstallRules.cmake @@ -13,7 +13,7 @@ install(DIRECTORY "${Thrust_SOURCE_DIR}/thrust" install(DIRECTORY "${Thrust_SOURCE_DIR}/thrust/cmake/" DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/thrust" - PATTERN thrust-header-search EXCLUDE + PATTERN *.cmake.in EXCLUDE ) # Need to configure a file to store the infix specified in # CMAKE_INSTALL_INCLUDEDIR since it can be defined by the user