Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Support custom infix directories when installing cub
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Dec 17, 2021
1 parent 65d6b98 commit 7342165
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/CubInstallRules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ include(GNUInstallDirs)
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE)

install(DIRECTORY "${CUB_SOURCE_DIR}/cub"
TYPE INCLUDE
DESTINATION include/${CUB_INSTALL_HEADER_INFIX}
FILES_MATCHING
PATTERN "*.cuh"
Expand All @@ -24,5 +23,5 @@ install(DIRECTORY "${CUB_SOURCE_DIR}/cub/cmake/"
configure_file("${CUB_SOURCE_DIR}/cub/cmake/cub-header-search.cmake.in"
"${CUB_BINARY_DIR}/cub/cmake/cub-header-search.cmake"
@ONLY)
install(FILE "${CUB_BINARY_DIR}/cub/cmake/cub-header-search.cmake"
install(FILES "${CUB_BINARY_DIR}/cub/cmake/cub-header-search.cmake"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/cub")

0 comments on commit 7342165

Please sign in to comment.