瀏覽代碼

Fix PDB file installation in RelWithDebInfo configuration

Andre Schulz 8 年之前
父節點
當前提交
0f6782df27
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/CMakeLists.txt

+ 1 - 1
code/CMakeLists.txt

@@ -936,7 +936,7 @@ if(MSVC AND ASSIMP_INSTALL_PDB)
     DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
     CONFIGURATIONS Debug
   )
-  install(FILES ${Assimp_BINARY_DIR}/code/RelWithDebInfo/assimp.pdb
+  install(FILES ${Assimp_BINARY_DIR}/code/RelWithDebInfo/assimp${LIBRARY_SUFFIX}.pdb
     DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
     CONFIGURATIONS RelWithDebInfo
   )