Tests/Cuda/IncludePathNoToolkit/CMakeLists.txt
raw| 1 | cmake_minimum_required(VERSION 3.10) |
| 2 | project (IncludePathNoToolkit CXX CUDA) |
| 3 | |
| 4 | #Goal for this example: |
| 5 | # Validate that between the CXX implicit include directories and the |
| 6 | # CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES directories we can find |
| 7 | # the cuda runtime headers |
| 8 | |
| 9 | add_executable(IncludePathNoToolkit main.cpp) |
| 10 | target_include_directories(IncludePathNoToolkit PRIVATE |
| 11 | ${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES}) |