cmake: also install pdb files of static libraries

This commit is contained in:
Anonymous Maarten committed 2023-11-09 03:23:24 +01:00
1 parent 509c70c698
commit adc0880520
3 files changed
+32 -3

No files matched your search

+1 -1
View File
@@ -481,7 +481,7 @@ if(SDL_INSTALL_TESTS)
endif()
if(MSVC)
foreach(test ${SDL_TEST_EXECUTABLES})
install(FILES $<TARGET_PDB_FILE:${test}> DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL2" OPTIONAL)
SDL_install_pdb(${test} "${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL2")
endforeach()
endif()
install(