summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
index fcd83eb4f..03b05adfc 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -441,6 +441,12 @@ standardProject "core"
warnings "Extra"
flags { "FatalWarnings" }
+ if isTargetWindows then
+ addSourceDir "source/core/windows"
+ else
+ addSourceDir "source/core/unix"
+ end
+
-- We need the core library to be relocatable to be able to link with slang.so
filter { "system:linux" }
buildoptions{"-fPIC"}