Fix UI programs on linux

This commit is contained in:
DrChat 2018-04-03 19:55:55 -05:00
parent ed48242f4f
commit 5a831fa273
3 changed files with 29 additions and 0 deletions

View File

@ -32,6 +32,16 @@ project("xenia-hid-demo")
"xenia-ui",
"xenia-ui-gl",
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter()
flags({
"WinMain", -- Use WinMain instead of main.
})

View File

@ -34,6 +34,15 @@ project("xenia-ui-window-gl-demo")
"xenia-ui",
"xenia-ui-gl",
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter()
flags({
"WinMain", -- Use WinMain instead of main.
})

View File

@ -37,6 +37,16 @@ project("xenia-ui-window-vulkan-demo")
"xenia-ui-spirv",
"xenia-ui-vulkan",
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter()
flags({
"WinMain", -- Use WinMain instead of main.
})