From bab5a7f1726914f0ca2074953e58687295e8e75a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=95=B0=E5=AD=A6=E3=81=AE=E6=AD=A6=E5=A3=AB?=
 <gashchuk2011@mail.ru>
Date: Thu, 26 Sep 2024 14:00:56 +0000
Subject: [PATCH] Update CMakeLists.txt

---
 CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b475760..ad2872e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,8 +10,7 @@ message(STATUS "memory processing: GPU build in mode is ${INCLUDE_CUDA}")
 
 if(INCLUDE_CUDA)
     enable_language(CUDA)
-    # find_package(CUDA REQUIRED)
-    # include_directories(${CUDA_INCLUDE_DIRS})
+    include_directories(${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})
 
     # -DCMAKE_CUDA_ARCHITECTURES=native -- Compile for the architecture(s) of the host's GPU(s)
 endif(INCLUDE_CUDA)
-- 
GitLab