diff options
| author | xq114 <[email protected]> | 2021-09-01 17:19:59 +0800 |
|---|---|---|
| committer | xq114 <[email protected]> | 2021-09-01 17:19:59 +0800 |
| commit | dc0d7c82a3908fcd9d5a6ab52ecd69c77793690a (patch) | |
| tree | dcaf03ea4da9de86eb118334a8fed35b7ac16ac9 | |
| parent | b9d4b06cb993b737a28d59561c3b5b4002a429f9 (diff) | |
fix cuda with c++17
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 1 |
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 |
