NVIDIA / optix-toolkit

Set of utilities supporting workflows common in GPU raytracing applications
BSD 3-Clause "New" or "Revised" License
90 stars 15 forks source link

CMake improvements #2

Closed jeffamstutz closed 2 years ago

jeffamstutz commented 2 years ago

Each commit in this PR is a standalone change, all of which are relatively minor. The biggest things are 1) FindOptiX.cmake now creates an imported target instead of using a raw variable, and 2) FindCUDAToolkit from CMake 3.17+ makes it the CUDA language/libraries divide clearer and more precise.