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

Commit

Permalink
Correct usage of install(DIRECTORY ... PATTERN) which matches at end …
Browse files Browse the repository at this point in the history
…of file name
  • Loading branch information
robertmaynard committed Nov 8, 2022
1 parent 429ed25 commit 084b274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CubInstallRules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 084b274

Please sign in to comment.