Commit d59a1b5c authored by David Bommes's avatar David Bommes

added support for VS2012 redist

@Jan: the paths for the other VS-Versions are wrong, right?

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16950 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 05f1c567
......@@ -175,10 +175,17 @@ if (WIN32)
DESTINATION ${ACG_PROJECT_BINDIR}
)
# check for generator
# message(STATUS "CMAKE_GENERATOR: ${CMAKE_GENERATOR}")
if ( CMAKE_GENERATOR MATCHES "^Visual Studio 9 2008.*" )
SET(REDISTRIBUTABLE_FILE "${CMAKE_SOURCE_DIR}/win/VS2008/vcredist_x86.exe")
elseif ( CMAKE_GENERATOR MATCHES "^Visual Studio 10.*" )
SET(REDISTRIBUTABLE_FILE "${CMAKE_SOURCE_DIR}/win/VS2010/vcredist_x86.exe")
SET(REDISTRIBUTABLE_FILE "${CMAKE_SOURCE_DIR}/win/VS2010/vcredist_x86.exe")
elseif ( CMAKE_GENERATOR MATCHES "^Visual Studio 11.*Win64" )
SET(REDISTRIBUTABLE_FILE "${CMAKE_SOURCE_DIR}/WIN/DLLs/Redistributables/Visual Studio 2012/vcredist_x64.exe")
elseif ( CMAKE_GENERATOR MATCHES "^Visual Studio 11.*" )
SET(REDISTRIBUTABLE_FILE "${CMAKE_SOURCE_DIR}/WIN/DLLs/Redistributables/Visual Studio 2012/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