summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
index 92243263a..85532a07f 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -1441,6 +1441,9 @@ tool "slangd"
includedirs { "." }
addSourceDir "tools/unit-test"
links { "lz4", "miniz", "core", "compiler-core", "slang" }
+ if not targetInfo.isWindows then
+ links { "pthread" }
+ end
if enableProfile then
tool "slang-profile"