diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2020-11-02 10:07:05 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2020-11-02 11:11:05 +0100 |
commit | 504d4c1ff6e0cecde9adfea320abd616d28b21a1 (patch) | |
tree | af8d862ea546c2886dfb88e1c13dd8743902ef54 /cmake/os/Windows.cmake | |
parent | f244b499e736ac55ce5f31eee726096658b5cc6b (diff) | |
download | mariadb-git-504d4c1ff6e0cecde9adfea320abd616d28b21a1.tar.gz |
Windows : require at least VS2019 for MSVC.
This will avoid some errors on appveyor, due to outdated SDKs.
Diffstat (limited to 'cmake/os/Windows.cmake')
-rw-r--r-- | cmake/os/Windows.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/os/Windows.cmake b/cmake/os/Windows.cmake index 1383a717bdc..29bd637250d 100644 --- a/cmake/os/Windows.cmake +++ b/cmake/os/Windows.cmake @@ -110,6 +110,9 @@ ENDMACRO() IF(MSVC) + IF(MSVC_VERSION LESS 1920) + MESSAGE(FATAL_ERROR "Visual Studio q2019 or later is required") + ENDIF() # Disable mingw based pkg-config found in Strawberry perl SET(PKG_CONFIG_EXECUTABLE 0 CACHE INTERNAL "") |