summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/ToolkitMultipleDirs/main.cu
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-11-02 16:13:41 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2022-11-02 16:23:30 (GMT)
commit62f13ed588da428699d84a7e61b6d33b3563a374 (patch)
treed372ab05ef3dc47cb0871f1fc8ecd9ea3590f1c6 /Tests/CudaOnly/ToolkitMultipleDirs/main.cu
parent301815eb6243c7598c246d06524cff51f7e90576 (diff)
downloadCMake-62f13ed588da428699d84a7e61b6d33b3563a374.zip
CMake-62f13ed588da428699d84a7e61b6d33b3563a374.tar.gz
CMake-62f13ed588da428699d84a7e61b6d33b3563a374.tar.bz2
FindCUDAToolkit: Restore usage from multiple directories
Fixes #24119
Diffstat (limited to 'Tests/CudaOnly/ToolkitMultipleDirs/main.cu')
-rw-r--r--Tests/CudaOnly/ToolkitMultipleDirs/main.cu8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CudaOnly/ToolkitMultipleDirs/main.cu b/Tests/CudaOnly/ToolkitMultipleDirs/main.cu
new file mode 100644
index 0000000..0f3ccdc
--- /dev/null
+++ b/Tests/CudaOnly/ToolkitMultipleDirs/main.cu
@@ -0,0 +1,8 @@
+// Only thing we care about is that these headers are found
+#include <cuda.h>
+#include <cuda_runtime_api.h>
+
+int main(int argc, char** argv)
+{
+ return 0;
+}