summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/premake5.lua b/premake5.lua
index a7f213b95..69f18a5b4 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -793,12 +793,13 @@ end
uuid "0C768A18-1D25-4000-9F37-DA5FE99E3B64"
includedirs { "." }
links { "compiler-core", "slang", "core", "miniz", "lz4" }
-
-- We want to set to the root of the project, but that doesn't seem to work with '.'.
-- So set a path that resolves to the same place.
-
debugdir("source/..")
-
+ if not targetInfo.isWindows then
+ links { "pthread" }
+ end
+
--
-- The reflection test harness `slang-reflection-test` is pretty
-- simple, in that it only needs to link against the slang library