diff options
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua index 211955ae1..3d925ddb8 100644 --- a/premake5.lua +++ b/premake5.lua @@ -79,7 +79,7 @@ newoption { trigger = "build-glslang", description = "(Optional) If true glslang and spirv-opt will be built", value = "bool", - default = "false", + default = "true", allowed = { { "true", "True"}, { "false", "False" } } } @@ -1311,9 +1311,11 @@ standardProject("slang-glslang", "source/slang-glslang") -- On Windows we need to add the platform-specific sources and then -- remove the `main.cpp` file since it tries to define a `DllMain` -- and we don't want the default glslang one. + addSourceDir( "external/glslang/glslang/OSDependent/Windows") removefiles { "external/glslang/glslang/OSDependent/Windows/main.cpp" } filter { "system:linux or macosx" } + addSourceDir( "external/glslang/glslang/OSDependent/Unix") links { "dl" } |
