$OpenBSD: patch-Source_cmTarget_cxx,v 1.28 2016/04/29 10:34:33 dcoppa Exp $
--- Source/cmTarget.cxx.orig	Fri Apr 15 15:41:22 2016
+++ Source/cmTarget.cxx	Wed Apr 27 11:03:28 2016
@@ -120,7 +120,7 @@ void cmTarget::SetMakefile(cmMakefile* mf)
     this->SetPropertyDefault("ANDROID_ANT_ADDITIONAL_OPTIONS", 0);
     this->SetPropertyDefault("INSTALL_NAME_DIR", 0);
     this->SetPropertyDefault("INSTALL_RPATH", "");
-    this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "OFF");
+    this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "ON");
     this->SetPropertyDefault("SKIP_BUILD_RPATH", "OFF");
     this->SetPropertyDefault("BUILD_WITH_INSTALL_RPATH", "OFF");
     this->SetPropertyDefault("ARCHIVE_OUTPUT_DIRECTORY", 0);
