diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-08-30 14:15:10 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2016-11-14 16:36:43 (GMT) |
commit | ce4ec876ceb73f52055b617374c04dbbbfd2a98d (patch) | |
tree | 57b008b15d2d51fd2a189f495ce869a99ebada73 /Source/cmLocalGenerator.cxx | |
parent | f8aac21947f43a0e886a3cc3655514abb95bb260 (diff) | |
download | CMake-ce4ec876ceb73f52055b617374c04dbbbfd2a98d.zip CMake-ce4ec876ceb73f52055b617374c04dbbbfd2a98d.tar.gz CMake-ce4ec876ceb73f52055b617374c04dbbbfd2a98d.tar.bz2 |
CUDA: Add support language levels (98/11)
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index e7dfed5..1ccd489 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1472,6 +1472,9 @@ void cmLocalGenerator::AddCompilerRequirementFlag( langStdMap["C"].push_back("11"); langStdMap["C"].push_back("99"); langStdMap["C"].push_back("90"); + + langStdMap["CUDA"].push_back("11"); + langStdMap["CUDA"].push_back("98"); } std::string standard(standardProp); |