cmake: also install pdb files of static libraries

This commit is contained in:
Anonymous Maarten
2023-11-09 00:24:10 +01:00
parent 2e3f574f8f
commit a6541166bc
3 changed files with 22 additions and 2 deletions

View File

@@ -571,7 +571,7 @@ if(SDL_INSTALL_TESTS)
endif()
if(MSVC)
foreach(test IN LISTS SDL_TEST_EXECUTABLES)
install(FILES $<TARGET_PDB_FILE:${test}> DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL3" OPTIONAL)
SDL_install_pdb(${test} "${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL3")
endforeach()
endif()
install(