Skip to content

Commit f9507a7

Browse files
committed
fix link on windows
1 parent 7e79605 commit f9507a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xmake.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ target("test")
3333
set_default(false)
3434
add_files(os.files("test/*.cpp"))
3535

36+
if is_plat("windows") then
37+
add_ldflags("/subsystem:console")
38+
end
39+
3640
add_deps("magic")
3741
add_packages("gtest")
3842

0 commit comments

Comments
 (0)