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