Commit 0b4a80e3 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Fix cmake rpath on macosx

parent 849b7102
Pipeline #117616 passed with stages
in 11 minutes and 21 seconds
if(APPLE)
set(CMAKE_MACOSX_RPATH ${CMAKE_INSTALL_PREFIX}/lib)
message(STATUS "Build on macosx")
set(CMAKE_MACOSX_RPATH 1 CACHE BOOL "Global rpath" FORCE)
# use, i.e. don't skip the full RPATH for the build tree
set(CMAKE_SKIP_BUILD_RPATH FALSE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment