cmake: also install pdb files of static libraries

This commit is contained in:
Anonymous Maarten committed 2023-11-09 02:17:07 +01:00
1 parent 2e3f574f8f
commit a6541166bc
3 files changed
+22 -2

No files matched your search

+1 -1
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(