-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
diff --git a/cub/cmake/CubInstallRules.cmake b/cub/cmake/CubInstallRules.cmake | ||
index d26da438e..a8b3b1940 100644 | ||
--- a/cub/cmake/CubInstallRules.cmake | ||
+++ b/cub/cmake/CubInstallRules.cmake | ||
@@ -12,7 +12,7 @@ install(DIRECTORY "${CUB_SOURCE_DIR}/cub" | ||
|
||
install(DIRECTORY "${CUB_SOURCE_DIR}/cub/cmake/" | ||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/cub" | ||
- PATTERN *.cmake.in EXCLUDE | ||
+ REGEX "(.*-header-search\.cmake|.*\.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 | ||
diff --git a/libcudacxx/cmake/libcudacxxInstallRules.cmake b/libcudacxx/cmake/libcudacxxInstallRules.cmake | ||
index f99a5606f..1c1ed5cb0 100644 | ||
--- a/libcudacxx/cmake/libcudacxxInstallRules.cmake | ||
+++ b/libcudacxx/cmake/libcudacxxInstallRules.cmake | ||
@@ -22,7 +22,7 @@ install(DIRECTORY "${libcudacxx_SOURCE_DIR}/include/nv" | ||
# Libcudacxx cmake package | ||
install(DIRECTORY "${libcudacxx_SOURCE_DIR}/lib/cmake/libcudacxx" | ||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake" | ||
- PATTERN *.cmake.in EXCLUDE | ||
+ REGEX "(.*-header-search\.cmake|.*\.cmake\.in)" EXCLUDE | ||
) | ||
|
||
# Need to configure a file to store CMAKE_INSTALL_INCLUDEDIR | ||
diff --git a/thrust/cmake/ThrustInstallRules.cmake b/thrust/cmake/ThrustInstallRules.cmake | ||
index 0898d3964..54b40e515 100644 | ||
--- a/thrust/cmake/ThrustInstallRules.cmake | ||
+++ b/thrust/cmake/ThrustInstallRules.cmake | ||
@@ -13,7 +13,7 @@ install(DIRECTORY "${Thrust_SOURCE_DIR}/thrust" | ||
|
||
install(DIRECTORY "${Thrust_SOURCE_DIR}/thrust/cmake/" | ||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/thrust" | ||
- PATTERN *.cmake.in EXCLUDE | ||
+ REGEX "(.*-header-search\.cmake|.*\.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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters