Sfoglia il codice sorgente

Merge pull request #1220 from andre-schulz/fix-pdb-install-relwithdebinfo

Fix PDB file installation in RelWithDebInfo configuration
Kim Kulling 8 anni fa
parent
commit
ea102e226d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
   )