diff --git a/dist/msi/CMakeLists.txt b/dist/msi/CMakeLists.txt index 7dfb6af86..9141b0e24 100644 --- a/dist/msi/CMakeLists.txt +++ b/dist/msi/CMakeLists.txt @@ -15,7 +15,9 @@ if(MSVC_TOOLSET_VERSION MATCHES "^([0-9]+)([0-9])$") set(MSVC_TOOLSET_VERSION_MINOR ${CMAKE_MATCH_2}) endif() -if(MSVC_TOOLSET_VERSION EQUAL 143) +if(MSVC_TOOLSET_VERSION EQUAL 145) + set(MSVS_VERSION 18) +elseif(MSVC_TOOLSET_VERSION EQUAL 143) set(MSVS_VERSION 17) elseif(MSVC_TOOLSET_VERSION EQUAL 142) set(MSVS_VERSION 16)