CMake: Edit recent commit, allow 64bit msvc2008

This commit is contained in:
Campbell Barton 2014-05-06 06:13:07 +10:00
parent 60c5887fe8
commit 4c47a71e55
1 changed files with 2 additions and 2 deletions

View File

@ -959,8 +959,8 @@ elseif(WIN32)
if(MSVC)
# drop support for older MSVC
if(MSVC_VERSION VERSION_LESS 1800)
message(FATAL_ERROR "MSVC versions older then 2013 are no longer supported")
if(MSVC_VERSION VERSION_LESS 1800 AND (NOT CMAKE_CL_64))
message(FATAL_ERROR "MSVC versions older than 2013 are no longer supported")
endif()
set(PLATFORM_LINKLIBS ws2_32 vfw32 winmm kernel32 user32 gdi32 comdlg32 advapi32 shfolder shell32 ole32 oleaut32 uuid psapi)