Fallback to CMAKE_CXX_COMPILER_VERSION if VS version unknown

This commit is contained in:
Gael Guennebaud 2015-06-24 15:17:37 +02:00
parent 95e19be381
commit 53a61a067b

View File

@ -26,6 +26,8 @@ function(EigenDetermineVSServicePack _pack)
set(_sp "vc110sp2")
elseif(${_cl_version} VERSION_EQUAL "17.00.60610.1")
set(_sp "vc110sp3")
else()
set(_sp ${CMAKE_CXX_COMPILER_VERSION})
endif()
endif()