From 084b274ea54fe5fbff92b903db4001e88f2db5e9 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Tue, 8 Nov 2022 10:17:39 -0500 Subject: [PATCH] Correct usage of install(DIRECTORY ... PATTERN) which matches at end of file name --- cmake/CubInstallRules.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CubInstallRules.cmake b/cmake/CubInstallRules.cmake index 3547718ffe..5474555bed 100644 --- a/cmake/CubInstallRules.cmake +++ b/cmake/CubInstallRules.cmake @@ -18,7 +18,7 @@ install(DIRECTORY "${CUB_SOURCE_DIR}/cub" install(DIRECTORY "${CUB_SOURCE_DIR}/cub/cmake/" DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/cub" - PATTERN cub-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