summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-16 09:20:01 -0500
committerBrad King <brad.king@kitware.com>2022-02-16 09:21:59 -0500
commita7ef59c9c4c3398422f58209ec64a4920a81e961 (patch)
treefa1745b49fa5af1680872f93cfbafbf3beb4803e /Tests
parente5a5f3b76fd89a8e98c981012714f94a1d984ad8 (diff)
downloadcmake-a7ef59c9c4c3398422f58209ec64a4920a81e961.tar.gz
Tests: Fix CudaOnly.SeparateCompilationPTX test project name
Fix the test added by commit 61b9764b03 (CUDA: Allow both CUDA_SEPARABLE_COMPILATION and CUDA_PTX_COMPILATION, 2021-09-17, v3.23.0-rc1~516^2) to have a `project()` name matching what is passed to CTest's `--build-project` option. Otherwise, on VS builds, MSBuild warns: MSBUILD : error MSB1009: Project file does not exist. Other CUDA tests use a matching project name already.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CudaOnly/SeparateCompilationPTX/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CudaOnly/SeparateCompilationPTX/CMakeLists.txt b/Tests/CudaOnly/SeparateCompilationPTX/CMakeLists.txt
index 273f95578f..2dd95c8a84 100644
--- a/Tests/CudaOnly/SeparateCompilationPTX/CMakeLists.txt
+++ b/Tests/CudaOnly/SeparateCompilationPTX/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.19)
-project (SeparateCompPTX CUDA)
+project (SeparateCompilationPTX CUDA)
#Goal for this example:
# How to generate PTX files with RDC enabled