Skip to content

Commit

Permalink
Fix rpath for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
paulthomson committed Dec 18, 2019
1 parent d987dc0 commit 172a889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ endif()
# in the same directory as the executable.
# On Windows, this is already the default behaviour.
if(APPLE)
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH}:@executable_path/../lib:@executable_path/" )
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH}:@executable_path/../lib:@executable_path/." )
else(UNIX)
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH}:$ORIGIN/../lib:$ORIGIN/" )
endif()
Expand Down

0 comments on commit 172a889

Please sign in to comment.