Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX rpath fix and Makefile INSTALL_PREFIX setting #1671

Merged
merged 1 commit into from
Apr 18, 2017

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Apr 18, 2017

  1. Some complaints (including failures in OSL TravisCI builds) led me to
    believe that the 'cmake_policy (SET CMP0042 OLD)' was not correct and
    that we should remove that and set MACOS_RPATH ON. This seems to clean
    up some rpath troubles on OSX. It should not have any effect on non-OSX
    builds.

  2. For the Makefile wrapper, allow INSTALL_PREFIX to be set, which is
    passed along to cmake as CMAKE_INSTALL_PREFIX. It defaults to the usual
    of ./dist/PLATFORM, but this lets you override to, for example, instruct
    the build to put the full installed files in another location. You could
    always do this if invoking cmake directly, but it was tricky for those
    who preferred to use the make wrapper.

1. Some complaints (including failures in OSL TravisCI builds) led me to
believe that the 'cmake_policy (SET CMP0042 OLD)' was not correct and
that we should remove that and set MACOS_RPATH ON. This seems to clean
up some rpath troubles on OSX. It should not have any effect on non-OSX
builds.

2. For the Makefile wrapper, allow INSTALL_PREFIX to be set, which is
passed along to cmake as CMAKE_INSTALL_PREFIX. It defaults to the usual
of ./dist/PLATFORM, but this lets you override to, for example, instruct
the build to put the full installed files in another location. You could
always do this if invoking cmake directly, but it was tricky for those
who preferred to use the make wrapper.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant