Build: set rpath to origin
This commit is contained in:
parent
100006024b
commit
3beacd3ffc
|
|
@ -11,6 +11,7 @@ if has_config("assimp") then
|
||||||
target("PluginAssimp")
|
target("PluginAssimp")
|
||||||
set_kind("shared")
|
set_kind("shared")
|
||||||
set_group("Plugins")
|
set_group("Plugins")
|
||||||
|
add_rpathdirs("$ORIGIN")
|
||||||
|
|
||||||
add_deps("NazaraUtility")
|
add_deps("NazaraUtility")
|
||||||
add_packages("assimp")
|
add_packages("assimp")
|
||||||
|
|
|
||||||
|
|
@ -172,6 +172,7 @@ for name, module in pairs(modules) do
|
||||||
set_group("Modules")
|
set_group("Modules")
|
||||||
|
|
||||||
add_rules("embed_resources")
|
add_rules("embed_resources")
|
||||||
|
add_rpathdirs("$ORIGIN")
|
||||||
|
|
||||||
if module.Deps then
|
if module.Deps then
|
||||||
add_deps(table.unpack(module.Deps))
|
add_deps(table.unpack(module.Deps))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue