Skip to content

Commit

Permalink
Merge pull request #1427 from serguei-k/rpath-fix
Browse files Browse the repository at this point in the history
Fixed separator in CMAKE_INSTALL_RPATH
  • Loading branch information
fabiencastan authored May 24, 2023
2 parents d324810 + 38fec9c commit f7e94a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ endif()
if(ALICEVISION_USE_RPATH)
if(APPLE)
set(CMAKE_MACOSX_RPATH 1)
set(CMAKE_INSTALL_RPATH "@loader_path/../${CMAKE_INSTALL_LIBDIR}:@loader_path")
set(CMAKE_INSTALL_RPATH "@loader_path/../${CMAKE_INSTALL_LIBDIR};@loader_path")
elseif(UNIX)
set(CMAKE_INSTALL_RPATH "\\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\\$ORIGIN")
set(CMAKE_INSTALL_RPATH "\\$ORIGIN/../${CMAKE_INSTALL_LIBDIR};\\$ORIGIN")
endif()
endif()

Expand Down

0 comments on commit f7e94a8

Please sign in to comment.