Skip to content

Commit

Permalink
fix: more RPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Nov 10, 2023
1 parent 04f7342 commit cacdc4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awkward-cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ Please check https://github.com/scikit-hep/awkward#installation-for-developers t
endif()

# Setup the RPATH for built libraries
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
if(CMAKE_SYSTEM_NAME STREQUAL Emscripten)
message(STATUS "Using Emscripten")
set(CMAKE_BUILD_RPATH_USE_ORIGIN TRUE)
set(CMAKE_INSTALL_RPATH "\${ORIGIN}")
elseif(APPLE)
set(CMAKE_INSTALL_RPATH "@loader_path")
else()
set(CMAKE_BUILD_RPATH_USE_ORIGIN TRUE)
set(CMAKE_INSTALL_RPATH "\${ORIGIN}")
endif()

Expand Down

0 comments on commit cacdc4c

Please sign in to comment.