From a5beede68ae01270f22139bcdc36f7a28b58c9cc Mon Sep 17 00:00:00 2001 From: Jan Svabenik Date: Wed, 18 Mar 2026 13:46:28 +0100 Subject: [PATCH] Fix CUDA flags quoting --- build-sdrplay.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-sdrplay.ps1 b/build-sdrplay.ps1 index fa8b964..7e905ac 100644 --- a/build-sdrplay.ps1 +++ b/build-sdrplay.ps1 @@ -22,10 +22,10 @@ if (-not (Test-Path $cudaInc)) { $cudaBin = 'C:\PROGRA~1\NVIDIA GPU Computing Toolkit\CUDA\v13.2\bin' } if (Test-Path $cudaInc) { - $env:CGO_CFLAGS = "$env:CGO_CFLAGS -I`"$cudaInc`"" + $env:CGO_CFLAGS = "$env:CGO_CFLAGS -I$cudaInc" } if (Test-Path $cudaLib) { - $env:CGO_LDFLAGS = "$env:CGO_LDFLAGS -L`"$cudaLib`" -lcufft -lcudart" + $env:CGO_LDFLAGS = "$env:CGO_LDFLAGS -L$cudaLib -lcufft -lcudart" } if (Test-Path $cudaBin) { $env:PATH = "$cudaBin;" + $env:PATH