diff --git a/assimp-config.cmake.in b/assimp-config.cmake.in index 098eba85b..7e57d79d3 100644 --- a/assimp-config.cmake.in +++ b/assimp-config.cmake.in @@ -29,8 +29,10 @@ if( MSVC ) set(MSVC_PREFIX "vc110") elseif( MSVC12 ) set(MSVC_PREFIX "vc120") + elseif( MSVC14 ) + set(MSVC_PREFIX "vc140") else() - set(MSVC_PREFIX "vc130") + set(MSVC_PREFIX "vc150") endif() set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library" FORCE) else() diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index a778d57f1..dd15e3ce4 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -751,8 +751,10 @@ if( MSVC ) set(MSVC_PREFIX "vc110") elseif( MSVC12 ) set(MSVC_PREFIX "vc120") + elseif( MSVC14 ) + set(MSVC_PREFIX "vc140") else() - set(MSVC_PREFIX "vc130") + set(MSVC_PREFIX "vc150") endif() set(LIBRARY_SUFFIX "${ASSIMP_LIBRARY_SUFFIX}-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library") endif()