Skip to content
  • James Bigler's avatar
    FindCUDA: Use the static CUDA runtime library if available (#15482) · 7fea2b77
    James Bigler authored and Brad King's avatar Brad King committed
    Beginning in CUDA 5.5 a static version of the cuda runtime library
    became available.  Since nvcc defaults to using this library over the
    shared version, FindCUDA will also default to using this version.  There
    are many advantages to using the static version (most importantly to
    avoid conflicts with multiple versions when building a CUDA based
    library).  Offer a CUDA_USE_STATIC_CUDA_RUNTIME option to control
    this behavior.
    7fea2b77