diff options
author | Brad King <brad.king@kitware.com> | 2022-11-14 15:32:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-11-14 15:32:32 (GMT) |
commit | 7a4673965fbea65a22456a039145c489831fea8f (patch) | |
tree | d5aec8943b58eaa15d00316c0e2765dfe047ad2c /Modules/Compiler | |
parent | 0e2a73fefd2899a2d5aa3ed99c71539fa6820b03 (diff) | |
parent | 207fd956d86c86aef0e16f42a71f5d77d6d3cc3c (diff) | |
download | CMake-7a4673965fbea65a22456a039145c489831fea8f.zip CMake-7a4673965fbea65a22456a039145c489831fea8f.tar.gz CMake-7a4673965fbea65a22456a039145c489831fea8f.tar.bz2 |
Merge topic 'nvcc-isystem'
207fd956d8 CUDA: Use consistent -isystem flag style for NVIDIA nvcc
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7904
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/NVIDIA-CUDA.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/NVIDIA-CUDA.cmake b/Modules/Compiler/NVIDIA-CUDA.cmake index c8dcd2a..34dd09a 100644 --- a/Modules/Compiler/NVIDIA-CUDA.cmake +++ b/Modules/Compiler/NVIDIA-CUDA.cmake @@ -70,7 +70,7 @@ if(NOT "x${CMAKE_CUDA_SIMULATE_ID}" STREQUAL "xMSVC") endif() set(CMAKE_SHARED_LIBRARY_CREATE_CUDA_FLAGS -shared) -set(CMAKE_INCLUDE_SYSTEM_FLAG_CUDA -isystem=) +set(CMAKE_INCLUDE_SYSTEM_FLAG_CUDA "-isystem ") if (CMAKE_CUDA_SIMULATE_ID STREQUAL "GNU") set(CMAKE_CUDA_LINKER_WRAPPER_FLAG "-Wl,") |