forked from NVIDIA/thrust
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace test script var THRUST_DIR with THRUST_ROOT.
An internal find_package call sets THRUST_DIR in the CMake cache, which can cause unexpected behavior during subsequent tests. Also pass the CMake generator to the test project. This is especially important on windows. Update CUB submodule to bring in `add_subdirectory` support as well.
- Loading branch information
1 parent
e68ea76
commit 5434e18
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
Submodule cub
updated
6 files
+8 −0 | CMakeLists.txt | |
+4 −0 | cmake/CubAddSubdir.cmake | |
+1 −0 | examples/CMakeLists.txt | |
+11 −0 | examples/cmake/CMakeLists.txt | |
+32 −0 | examples/cmake/add_subdir/CMakeLists.txt | |
+8 −0 | examples/cmake/add_subdir/dummy.cu |
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
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