Browse Source

Fix PDB file installation in RelWithDebInfo configuration

Andre Schulz 8 năm trước cách đây
mục cha
commit
0f6782df27
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
   )