summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-10-31 09:22:07 -0400
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 19:06:12 -0400
commit5f1140c03c9677753bd4a0ebe60b48e37d28669e (patch)
tree7670e1b062eba66cd2a0b1c89ac2deb0912e509a /indra/cmake
parente9a75ad31ccfb2e97d5d7bab2dec680e5b52f9a5 (diff)
DRTVWR-476: For VS 2017, MSVC_VERSION can be any of a range.
Thanks NickyD.
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/Copy3rdPartyLibs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/Copy3rdPartyLibs.cmake b/indra/cmake/Copy3rdPartyLibs.cmake
index 7ee13bb056..1e33205143 100644
--- a/indra/cmake/Copy3rdPartyLibs.cmake
+++ b/indra/cmake/Copy3rdPartyLibs.cmake
@@ -81,7 +81,7 @@ if(WINDOWS)
elseif (MSVC_VERSION EQUAL 1800) # VisualStudio 2013, which is (sigh) VS 12
list(APPEND LMSVC_VER 120)
list(APPEND LMSVC_VERDOT 12.0)
- elseif (MSVC_VERSION EQUAL 1915 OR MSVC_VERSION EQUAL 1916) # Visual Studio 2017
+ elseif (MSVC_VERSION GREATER_EQUAL 1910 AND MSVC_VERSION LESS 1920) # Visual Studio 2017
list(APPEND LMSVC_VER 150)
list(APPEND LMSVC_VERDOT 15.0)
else (MSVC80)