Skip to content

Commit

Permalink
Added RPATH override to macOS executable.
Browse files Browse the repository at this point in the history
  • Loading branch information
afritz1 committed Aug 4, 2024
1 parent 9c07904 commit 84f085e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenTESArena/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@ ELSE (APPLE)
FILE(COPY ${TES_OPTIONS_FOLDER} DESTINATION ../otesa.app/Contents/Resources)

# Add the rest
SET(CMAKE_BUILD_RPATH "@executable_path/../Frameworks/")
ADD_EXECUTABLE(otesa MACOSX_BUNDLE ${TES_SOURCES} ${TES_MAC_ICON})
ENDIF()

Expand Down

0 comments on commit 84f085e

Please sign in to comment.