openbsd-ports/devel/cmake/patches/patch-Source_cmTarget_cxx
dcoppa 16afbc2029 Update to CMake-3.9.1
Tests and feedback by rsadowski@, schwarze@
Ports bulk build by sthen@
2017-08-26 17:53:35 +00:00

14 lines
740 B
Plaintext

$OpenBSD: patch-Source_cmTarget_cxx,v 1.31 2017/08/26 17:53:35 dcoppa Exp $
Index: Source/cmTarget.cxx
--- Source/cmTarget.cxx.orig
+++ Source/cmTarget.cxx
@@ -230,7 +230,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnu
this->SetPropertyDefault("BUILD_RPATH", CM_NULLPTR);
this->SetPropertyDefault("INSTALL_NAME_DIR", CM_NULLPTR);
this->SetPropertyDefault("INSTALL_RPATH", "");
- this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "OFF");
+ this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "ON");
this->SetPropertyDefault("INTERPROCEDURAL_OPTIMIZATION", CM_NULLPTR);
this->SetPropertyDefault("SKIP_BUILD_RPATH", "OFF");
this->SetPropertyDefault("BUILD_WITH_INSTALL_RPATH", "OFF");