mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 03:47:07 -05:00
Fixed shaderc Linux build.
This commit is contained in:
parent
3bb48b4ab2
commit
055891a42d
2 changed files with 14 additions and 6 deletions
|
@ -10,6 +10,17 @@ project "shaderc"
|
|||
GLSL_OPTIMIZER .. "src/glsl/msvc",
|
||||
}
|
||||
|
||||
configuration { "windows" }
|
||||
includedirs {
|
||||
GLSL_OPTIMIZER .. "include/c99",
|
||||
}
|
||||
|
||||
links {
|
||||
"d3dx9",
|
||||
"d3dcompiler",
|
||||
"dxguid",
|
||||
}
|
||||
|
||||
configuration {}
|
||||
|
||||
includedirs {
|
||||
|
@ -18,7 +29,6 @@ project "shaderc"
|
|||
FCPP_DIR,
|
||||
|
||||
GLSL_OPTIMIZER .. "include",
|
||||
GLSL_OPTIMIZER .. "include/c99",
|
||||
GLSL_OPTIMIZER .. "src/mesa",
|
||||
GLSL_OPTIMIZER .. "src/mapi",
|
||||
GLSL_OPTIMIZER .. "src/glsl",
|
||||
|
@ -50,8 +60,3 @@ project "shaderc"
|
|||
GLSL_OPTIMIZER .. "src/glsl/builtin_stubs.cpp",
|
||||
}
|
||||
|
||||
links {
|
||||
"d3dx9",
|
||||
"d3dcompiler",
|
||||
"dxguid",
|
||||
}
|
||||
|
|
|
@ -29,7 +29,10 @@ extern "C"
|
|||
#include <bx/bx.h>
|
||||
|
||||
#if BX_PLATFORM_LINUX
|
||||
# include <stdarg.h>
|
||||
|
||||
# define _stricmp strcasecmp
|
||||
# define _snprintf snprintf
|
||||
#endif // BX_PLATFORM_LINUX
|
||||
|
||||
#include <bx/commandline.h>
|
||||
|
|
Loading…
Reference in a new issue