Skip to content

Commit e2dbaa7

Browse files
authored
handler: set Windows subsystem to hide console window (#4)
1 parent 8a2ddfc commit e2dbaa7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

handler/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ if(WIN32)
4848
)
4949
endif()
5050

51-
add_executable(crashpad_handler ${HANDLER_SOURCES})
51+
if(WIN32)
52+
add_executable(crashpad_handler WIN32 ${HANDLER_SOURCES})
53+
else()
54+
add_executable(crashpad_handler ${HANDLER_SOURCES})
55+
endif()
5256
target_link_libraries(crashpad_handler
5357
crashpad_client
5458
crashpad_minidump

0 commit comments

Comments
 (0)