mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 20:29:49 -05:00
4b7618d170
When C++ features require a certain C++/CUDA level, verify or update the standard level target property for each language independently. While at it, add missing rejection of invalid `CUDA_STANDARD` property values. Co-Author: Brad King <brad.king@kitware.com> Fixes: #17519
11 lines
257 B
Plaintext
11 lines
257 B
Plaintext
|
|
#include <type_traits>
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
// Verify that issue #17519 Setting CXX_STANDARD breaks CUDA_STANDARD
|
|
// selection via cxx_std_11 has been corrected
|
|
using returnv = std::integral_constant<int, 0>;
|
|
return returnv::value;
|
|
}
|