diff options
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index ade7fc936..17ee920c7 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -184,7 +184,8 @@ function nf_language(self, stdname) , cxx11 = "--std c++11" , cxx14 = "--std c++14" , cxx17 = "--std c++17" - , cxxlatest = {"--std c++17", "--std c++14", "--std c++11", "--std c++03"} + , cxx20 = "--std c++20" + , cxxlatest = {"--std c++20", "--std c++17", "--std c++14", "--std c++11", "--std c++03"} } local cxxmaps2 = {} for k, v in pairs(_g.cxxmaps) do |
