[PATCH] D61188: [cmake] Fix error message in simulated VS version check

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 16:37:56 PDT 2019


smeenai accepted this revision.
smeenai added a comment.
This revision is now accepted and ready to land.

LGTM with the indent fixed.



================
Comment at: llvm/cmake/modules/CheckCompilerVersion.cmake:53
     if (CMAKE_CXX_SIMULATE_VERSION VERSION_LESS MSVC_MIN)
-      message(FATAL_ERROR "Host Clang must have at least -fms-compatibility-version=${MSVC_MIN}, your version is ${CMAKE_CXX_COMPILER_VERSION}.")
+        message(FATAL_ERROR "Host Clang must have at least -fms-compatibility-version=${MSVC_MIN}, your version is ${CMAKE_CXX_SIMULATE_VERSION}.")
     endif()
----------------
Should be a 2 space indent here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61188/new/

https://reviews.llvm.org/D61188





More information about the llvm-commits mailing list