Browse Source

Merge pull request #704 from Vertexwahn/master

Added missing DLL suffix for VS2015 build.
Kim Kulling 9 years ago
parent
commit
b440f67aae
2 changed files with 6 additions and 2 deletions
  1. 3 1
      assimp-config.cmake.in
  2. 3 1
      code/CMakeLists.txt

+ 3 - 1
assimp-config.cmake.in

@@ -29,8 +29,10 @@ if( MSVC )
     set(MSVC_PREFIX "vc110")
     set(MSVC_PREFIX "vc110")
   elseif( MSVC12 )
   elseif( MSVC12 )
     set(MSVC_PREFIX "vc120")
     set(MSVC_PREFIX "vc120")
+  elseif( MSVC14 )
+    set(MSVC_PREFIX "vc140")
   else()
   else()
-    set(MSVC_PREFIX "vc130")
+    set(MSVC_PREFIX "vc150")
   endif()
   endif()
   set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library" FORCE)
   set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library" FORCE)
 else()
 else()

+ 3 - 1
code/CMakeLists.txt

@@ -751,8 +751,10 @@ if( MSVC )
     set(MSVC_PREFIX "vc110")
     set(MSVC_PREFIX "vc110")
   elseif( MSVC12 )
   elseif( MSVC12 )
     set(MSVC_PREFIX "vc120")
     set(MSVC_PREFIX "vc120")
+  elseif( MSVC14 )
+    set(MSVC_PREFIX "vc140")
   else()
   else()
-    set(MSVC_PREFIX "vc130")
+    set(MSVC_PREFIX "vc150")
   endif()
   endif()
   set(LIBRARY_SUFFIX "${ASSIMP_LIBRARY_SUFFIX}-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library")
   set(LIBRARY_SUFFIX "${ASSIMP_LIBRARY_SUFFIX}-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library")
 endif()
 endif()