more RPATH bullshit

mastering_effects
cosmonaut 2021-10-29 15:42:07 -07:00
parent de988f97a1
commit 2787dcdbe8
3 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ elseif(WIN32)
endif()
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_BUILD_WITH_INSTALL_RPATH TRUE)
set(CMAKE_INSTALL_RPATH ${BIN_RPATH})