summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/ToolkitIsSystemInclude/CMakeLists.txt
blob: bc347dda10a69b1de0e245cddeda78316f0a27e4 (plain)
1
2
3
4
5
6
7
cmake_minimum_required(VERSION 3.24)
project(ToolkitIsSystemInclude CUDA)

# Verify that the nvrtc.h that is inside `CMAKE_CURRENT_SOURCE_DIR` is still
# the first include for `.cu` files.
add_executable(CudaOnlySystemInclude main.cu)
target_include_directories(CudaOnlySystemInclude SYSTEM PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)