Skip to content

Stopping pthread from propagating to nvcc

Achal Shah requested to merge achalshah20/cmake:master into master

In findthreads.cmake, simply adding -pthread will propagate that to nvcc as well. but nvcc doesn't understand the flag -pthread. So this merge request will fix this issue by using compiler language guard.

Not sure if this breaks other stuff! Thanks!

Merge request reports