Merge pull request #662 from resetnow/vulkan-loader-linux

third_party: vulkan: loader: fix Linux build
This commit is contained in:
Justin Moore 2017-01-27 00:00:42 -06:00 committed by GitHub
commit aef9f35784
1 changed files with 8 additions and 1 deletions

View File

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