summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerTest/CUDA.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CompilerTest/CUDA.cmake')
-rw-r--r--Tests/RunCMake/CompilerTest/CUDA.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerTest/CUDA.cmake b/Tests/RunCMake/CompilerTest/CUDA.cmake
new file mode 100644
index 0000000..e8c19a0
--- /dev/null
+++ b/Tests/RunCMake/CompilerTest/CUDA.cmake
@@ -0,0 +1,3 @@
+# Pretend the ABI check failed in order to force the fall-back test to run.
+set(CMAKE_CUDA_ABI_COMPILED FALSE)
+enable_language(CUDA)