RemoteVstPlugin32: Fix Qt version check with MSVC 2019 + Qt 5.15 (#5607)

This commit is contained in:
pmerry96
2020-08-05 03:49:23 -04:00
committed by GitHub
parent 639f3a49a3
commit b0333b6281

View File

@@ -20,7 +20,7 @@ ELSEIF(LMMS_BUILD_WIN64 AND MSVC)
IF(NOT QT_32_PREFIX)
SET(LMMS_MSVC_YEAR_FOR_QT ${LMMS_MSVC_YEAR})
if(LMMS_MSVC_YEAR_FOR_QT EQUAL 2019)
if(LMMS_MSVC_YEAR_FOR_QT EQUAL 2019 AND Qt5_VERSION VERSION_LESS "5.15")
SET(LMMS_MSVC_YEAR_FOR_QT 2017) # Qt only provides binaries for MSVC 2017, but 2019 is binary compatible
endif()