Build: set rpath to origin

This commit is contained in:
Jérôme Leclercq
2022-02-09 16:57:12 +01:00
parent 100006024b
commit 3beacd3ffc
2 changed files with 2 additions and 0 deletions

View File

@@ -172,6 +172,7 @@ for name, module in pairs(modules) do
set_group("Modules")
add_rules("embed_resources")
add_rpathdirs("$ORIGIN")
if module.Deps then
add_deps(table.unpack(module.Deps))