windows fix
This commit is contained in:
parent
e66c0b0fd3
commit
fc69bdf666
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue