Skip to content

Commit 270337f

Browse files
committed
Add VS2019 to supported compilers
1 parent 914e7ae commit 270337f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

LSLCMake.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,11 @@ if(WIN32 AND MSVC)
254254
elseif(MSVC_VERSION EQUAL 1900)
255255
set(VCYEAR 2015)
256256
set(_vs_ver 14.0)
257-
elseif(MSVC_VERSION GREATER 1910 AND MSVC_VERSION LESS 1919)
257+
elseif(MSVC_VERSION GREATER 1910 AND MSVC_VERSION LESS 1929)
258258
set(VCYEAR 2017)
259259
set(_vs_ver 14.1)
260+
# Also VS 2019, but it's binary compatible with 2017 so Boost
261+
# and Qt still use the 2017 binaries
260262
else()
261263
message(WARNING "You're using an untested Visual C++ compiler (MSVC_VERSION: ${MSVC_VERSION}).")
262264
endif()

0 commit comments

Comments
 (0)