mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:10:06 +00:00
Set Linux DT_RUNPATH
This commit is contained in:
parent
ebee726688
commit
17a9c9190d
1 changed files with 3 additions and 0 deletions
|
|
@ -384,6 +384,9 @@ target_link_libraries(scwx-qt PUBLIC Qt${QT_VERSION_MAJOR}::Widgets
|
||||||
target_link_libraries(supercell-wx PRIVATE scwx-qt
|
target_link_libraries(supercell-wx PRIVATE scwx-qt
|
||||||
wxdata)
|
wxdata)
|
||||||
|
|
||||||
|
# Set DT_RUNPATH for Linux targets
|
||||||
|
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
|
||||||
|
|
||||||
install(TARGETS supercell-wx
|
install(TARGETS supercell-wx
|
||||||
qmaplibregl
|
qmaplibregl
|
||||||
RUNTIME_DEPENDENCIES
|
RUNTIME_DEPENDENCIES
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue