closes https://github.com/assimp/assimp/issues/3004 : use prefix when ms_tools were found.
parent
4c8b9fb96d
commit
aaea564cbe
|
@ -684,7 +684,8 @@ if(WIN32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF(MSVC_TOOLSET_VERSION)
|
IF(MSVC_TOOLSET_VERSION)
|
||||||
set(MSVC_PREFIX "vc${MSVC_TOOLSET_VERSION}")
|
SET(MSVC_PREFIX "vc${MSVC_TOOLSET_VERSION}")
|
||||||
|
SET(ASSIMP_MSVC_VERSION ${MCVS_PREFIX})
|
||||||
ELSE()
|
ELSE()
|
||||||
IF(MSVC12)
|
IF(MSVC12)
|
||||||
SET(ASSIMP_MSVC_VERSION "vc120")
|
SET(ASSIMP_MSVC_VERSION "vc120")
|
||||||
|
|
Loading…
Reference in New Issue