more RPATH bullshit

pull/1/head
cosmonaut 2021-10-29 15:42:07 -07:00
parent cced5c0d94
commit 71a19a2210
3 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ elseif(WIN32)
endif() endif()
if(UNIX) if(UNIX)
SET(BIN_RPATH "\$ORIGIN/assets") #thanks yoyo games SET(BIN_RPATH "\$ORIGIN;\$ORIGIN/assets") #thanks yoyo games
set(CMAKE_SKIP_BUILD_RPATH TRUE) set(CMAKE_SKIP_BUILD_RPATH TRUE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(CMAKE_INSTALL_RPATH ${BIN_RPATH}) set(CMAKE_INSTALL_RPATH ${BIN_RPATH})

Binary file not shown.