third_party: vulkan: loader: fix Linux build

This commit is contained in:
Vlad Ivanov 2017-01-26 22:48:06 +03:00
parent dece63e351
commit efb763c6c5
1 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,7 @@ group("third_party")
project("vulkan-loader") project("vulkan-loader")
uuid("07d77359-1618-43e6-8a4a-0ee9ddc5fa6a") uuid("07d77359-1618-43e6-8a4a-0ee9ddc5fa6a")
kind("StaticLib") kind("StaticLib")
language("C++") language("C")
defines({ defines({
"_LIB", "_LIB",
@ -23,3 +23,10 @@ project("vulkan-loader")
defines({ defines({
"VK_USE_PLATFORM_WIN32_KHR", "VK_USE_PLATFORM_WIN32_KHR",
}) })
filter("platforms:not Windows")
removefiles("dirent_on_windows.c")
filter("platforms:Linux")
defines({
[[SYSCONFDIR="\"/etc\""]],
[[DATADIR="\"/usr/share\""]],
})