Skip to content

Commit

Permalink
Revert "append CMAKE_INSTALL_FULL_LIBDIR to CMAKE_INSTALL_RPATH only …
Browse files Browse the repository at this point in the history
…on macOS"

This reverts commit 9638b62.
As discussed in #271 (comment)
  • Loading branch information
andyli committed Aug 18, 2024
1 parent 9638b62 commit d8a3b46
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,7 @@ if (RELOCATABLE)
endif()
endif()

# https://github.com/HaxeFoundation/neko/pull/288#issuecomment-2102504348
if(APPLE)
list(APPEND CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
endif()
list(APPEND CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})

if(UNIX AND NOT APPLE)
add_definitions(-DABI_ELF)
Expand Down

0 comments on commit d8a3b46

Please sign in to comment.