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

@ -11,6 +11,7 @@ if has_config("assimp") then
target("PluginAssimp")
set_kind("shared")
set_group("Plugins")
add_rpathdirs("$ORIGIN")
add_deps("NazaraUtility")
add_packages("assimp")

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))