Install pdb files.

This commit is contained in:
levlam 2020-11-16 22:41:06 +03:00
parent 9692d58195
commit 1ca90a925a

View File

@ -76,5 +76,5 @@ target_link_libraries(telegram-bot-api PRIVATE memprof tdactor tdcore tddb tdnet
install(TARGETS telegram-bot-api RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
if (MSVC AND VCPKG_TOOLCHAIN)
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/" DESTINATION "${CMAKE_INSTALL_BINDIR}" FILES_MATCHING PATTERN "*.dll")
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/" DESTINATION "${CMAKE_INSTALL_BINDIR}" FILES_MATCHING PATTERN "*.dll" PATTERN "*.pdb")
endif()