diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2017-05-11 17:33:10 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2017-05-11 17:42:42 (GMT) |
commit | 036ffe815acd1ea4ee5cafb1b9547930bfbdbebf (patch) | |
tree | 582ca9cd688b5f9a45df68ba5689205f5df1b63e /Source | |
parent | b69e061b8073efbd2c356f4508ea401c85e8dae3 (diff) | |
download | CMake-036ffe815acd1ea4ee5cafb1b9547930bfbdbebf.zip CMake-036ffe815acd1ea4ee5cafb1b9547930bfbdbebf.tar.gz CMake-036ffe815acd1ea4ee5cafb1b9547930bfbdbebf.tar.bz2 |
CUDA: Add support for the C++14 standard flag.
CUDA 9 toolkit has announced support for C++14 flag, so lets allow users
to use it.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 0ab6e89..d51217c 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1518,6 +1518,7 @@ void cmLocalGenerator::AddCompilerRequirementFlag( langStdMap["C"].push_back("99"); langStdMap["C"].push_back("90"); + langStdMap["CUDA"].push_back("14"); langStdMap["CUDA"].push_back("11"); langStdMap["CUDA"].push_back("98"); } |