From: Andreas Beckmann <anbe@debian.org>
Date: Fri, 6 Jan 2023 16:59:42 +0100
Subject: extra cmake arguments

---
 setup.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/setup.py b/setup.py
index d9fd23d..da7ef72 100644
--- a/setup.py
+++ b/setup.py
@@ -88,6 +88,11 @@ if args.enable_sanitizer:
 if len(cmake_args) > 0:
     print("\n\n\tCMake arguments set via command line: {}\n".format(cmake_args))
 
+# Debian additions
+cmake_args += [
+    "-DCMAKE_CUDA_HOST_COMPILER=cuda-g++",
+    ]
+
 if platform.system() == "Darwin":
     # scikit-build will set this to 10.6 and C++ compiler check will fail
     version = platform.mac_ver()[0].split('.')
