Skip to content
Snippets Groups Projects
Commit 13fc4020 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[CMake][Release] Use @rpath on OS X if possible

CMake >= 2.8.12 can optionally use @rpath to embed dynamic linker paths
into shared libraries on OS X. This greatly improves reliability with
libraries in non-standard locations and should definitely be turned on
by default.
parent 923c403d
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,9 @@
# library BASENAME
#
# Make CMake use rpath on OS X
cmake_policy(SET CMP0042 NEW)
enable_language(C) # Enable C to skip CXX bindings for some tests.
include(FeatureSummary)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment