fix cmake_extra
{% set generator = "-G Ninja" %} # [not win]
{% set cmake_extra = "-A x64" %} # [win]
-{% set cmake_extra = "-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc" %} # [linux and cuda_compiler_version != "None"]
+{% set cmake_extra = "-DCMAKE_CUDA_COMPILER=nvcc" %} # [linux and cuda_compiler_version != "None"]
+{% set cmake_extra = "" %} # [not win and not (linux and cuda_compiler_version != "None")]
package:
name: '{{ name|lower }}'
