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 064253d1b..cbe062617 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -1357,6 +1357,12 @@ newoption {
postbuildcommands {
"{COPY} ../../../external/slang-binaries/bin/" .. targetName .. "/libslang-glslang.so %{cfg.targetdir}"
}
+
+ filter { "system:macosx" }
+ postbuildcommands {
+ "{COPY} ../../../external/slang-binaries/bin/" .. targetName .. "/libslang-glslang.dylib %{cfg.targetdir}"
+ }
+
end
filter {"configurations:debug"}