closes https://github.com/assimp/assimp/issues/3004 : use prefix when ms_tools were found.

pull/3362/head
kimkulling 2020-08-07 16:14:44 +02:00
parent 4c8b9fb96d
commit aaea564cbe
1 changed files with 2 additions and 1 deletions

View File

@ -684,7 +684,8 @@ if(WIN32)
ENDIF()
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()
IF(MSVC12)
SET(ASSIMP_MSVC_VERSION "vc120")