Skip to content

Commit f7c542f

Browse files
committed
Set windows subsystem
So console doesn't show up
1 parent 2013f8c commit f7c542f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ add_executable(qun
8282
./src/scenes/nfs.cpp
8383
)
8484

85+
if (MSVC)
86+
target_link_options(qun PRIVATE /SUBSYSTEM:WINDOWS)
87+
endif()
88+
8589
target_include_directories(qun
8690
PRIVATE
8791
./thirdparty

0 commit comments

Comments
 (0)