Commit 26c91663 authored by Jan Möbius's avatar Jan Möbius

Search for VS2017 Redistributable

parent 7967f42f
......@@ -198,6 +198,10 @@ if (WIN32)
SET(REDISTRIBUTABLE_FILE "${CMAKE_WINDOWS_LIBS_DIR}/vs2015/x64/vcredist_x64.exe")
elseif ( CMAKE_GENERATOR MATCHES "^Visual Studio 14.*" )
SET(REDISTRIBUTABLE_FILE "${CMAKE_WINDOWS_LIBS_DIR}/vs2015/x32/vcredist_x86.exe")
elseif ( CMAKE_GENERATOR MATCHES "^Visual Studio 15.*Win64" )
SET(REDISTRIBUTABLE_FILE "${CMAKE_WINDOWS_LIBS_DIR}/vs2017/x64/vcredist_x64.exe")
elseif ( CMAKE_GENERATOR MATCHES "^Visual Studio 15.*" )
SET(REDISTRIBUTABLE_FILE "${CMAKE_WINDOWS_LIBS_DIR}/vs2017/x32/vcredist_x86.exe")
endif()
# append dll's to installed package
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment