windows fix

This commit is contained in:
Dethrace Labs 2025-07-30 09:16:52 +12:00
parent e66c0b0fd3
commit fc69bdf666
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ else()
if(MSVC)
target_link_libraries(dethrace PRIVATE dbghelp)
target_link_options(dethrace PRIVATE /subsystem:windows /ENTRY:mainCRTStartup)
target_compile_definitions(dethrace PRIVATE -D_CRT_SECURE_NO_WARNINGS -DSDL_MAIN_HANDLED -DWIN32_LEAN_AND_MEAN)
endif()
endif()