mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Fallback to CMAKE_CXX_COMPILER_VERSION if VS version unknown
This commit is contained in:
parent
95e19be381
commit
53a61a067b
@ -26,6 +26,8 @@ function(EigenDetermineVSServicePack _pack)
|
|||||||
set(_sp "vc110sp2")
|
set(_sp "vc110sp2")
|
||||||
elseif(${_cl_version} VERSION_EQUAL "17.00.60610.1")
|
elseif(${_cl_version} VERSION_EQUAL "17.00.60610.1")
|
||||||
set(_sp "vc110sp3")
|
set(_sp "vc110sp3")
|
||||||
|
else()
|
||||||
|
set(_sp ${CMAKE_CXX_COMPILER_VERSION})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user