From c21a12d805c489bb666a26e351fb0da861cfbc74 Mon Sep 17 00:00:00 2001 From: Patrick Stotko Date: Fri, 7 Feb 2020 14:15:17 +0100 Subject: [PATCH] cmake: Fix selection of header files for installation --- src/stdgpu/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/stdgpu/CMakeLists.txt b/src/stdgpu/CMakeLists.txt index 011b70646..8e8206e32 100644 --- a/src/stdgpu/CMakeLists.txt +++ b/src/stdgpu/CMakeLists.txt @@ -60,6 +60,7 @@ install(DIRECTORY "${STDGPU_CONFIG_BUILD_DIR}/" install(DIRECTORY "${STDGPU_INCLUDE_LOCAL_DIR}/" DESTINATION ${CMAKE_INSTALL_PREFIX}/${STDGPU_INCLUDE_INSTALL_DIR} COMPONENT stdgpu - PATTERN "*.cpp" EXCLUDE - PATTERN "*.cu" EXCLUDE - PATTERN "*.txt" EXCLUDE) + FILES_MATCHING + PATTERN "*.h" + PATTERN "*.cuh" + PATTERN "*_fwd")