From dc0d7c82a3908fcd9d5a6ab52ecd69c77793690a Mon Sep 17 00:00:00 2001 From: xq114 <1140735506@qq.com> Date: Wed, 1 Sep 2021 17:19:59 +0800 Subject: fix cuda with c++17 --- xmake/modules/core/tools/nvcc.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index 784b606c5..1ca09401e 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -178,6 +178,7 @@ function nf_language(self, stdname) cxx03 = "--std c++03" , cxx11 = "--std c++11" , cxx14 = "--std c++14" + , cxx17 = "--std c++17" } local cxxmaps2 = {} for k, v in pairs(_g.cxxmaps) do -- cgit v1.3.1