summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-01 18:30:46 +0800
committerGitHub <[email protected]>2021-09-01 18:30:46 +0800
commitce527abaa4e78b5d2d194512f875681e501794ac (patch)
tree1555e25600e16a20ff01df21ae76aa52bde8190e
parent127b9e87fff155470d5986e89ef4900e00d03c8c (diff)
parentdc0d7c82a3908fcd9d5a6ab52ecd69c77793690a (diff)
Merge pull request #1625 from xq114/dev
fix cuda with c++17
-rw-r--r--xmake/modules/core/tools/nvcc.lua1
1 files changed, 1 insertions, 0 deletions
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