https://github.com/Kitware/CMake
Revision 96ea613f169cedc4087b536d95ca6c128b8f4eb6 authored by Brad King on 27 October 2020, 11:05:11 UTC, committed by Kitware Robot on 27 October 2020, 11:05:18 UTC
2b0d3c3524 CUDA: Use MSVC version to determine supported C++ standard levels

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5423
2 parent s 479a9df + 2b0d3c3
Raw File
Tip revision: 96ea613f169cedc4087b536d95ca6c128b8f4eb6 authored by Brad King on 27 October 2020, 11:05:11 UTC
Merge topic 'correct_msvc_cuda_flag_warning' into release-3.19
Tip revision: 96ea613
CMakeBuildSettings.cmake.in

# The command CMAKE_EXPORT_BUILD_SETTINGS(...) was used by
# @PROJECT_NAME@ to generate this file.  As of CMake 2.8 the
# functionality of this command has been dropped as it was deemed
# harmful (confusing users by changing their compiler).

# CMake 2.6 and below do not support loading their equivalent of this
# file if it was produced by a newer version of CMake.  CMake 2.8 and
# above simply do not load this file.  Therefore we simply error out.
message(FATAL_ERROR
  "This @PROJECT_NAME@ was built by CMake @CMAKE_VERSION@, but this is CMake "
  "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}.  "
  "Please upgrade CMake to a more recent version.")
back to top