瀏覽代碼

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

kimkulling 5 年之前
父節點
當前提交
aaea564cbe
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      CMakeLists.txt

+ 2 - 1
CMakeLists.txt

@@ -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")