vcpkg/ports/aws-sdk-cpp/patch-relocatable-rpath.patch
Kevin Lalumiere 3be0fec092
[aws-sdk-cpp] Make aws-sdk-cpp rpath relocatable (#14546)
* Make aws-sdk-cpp rpath relocatable (fix #14544)

This is important since vcpkg offers binary caching which could be
shared between different machines (as long as both machines use the same
"toolchains" [more technically, as long as the vcpkg hash is the same])

* Allow cross-compilation

* Update port version

Co-authored-by: Kevin Lalumiere <klalumiere@coveo.com>
2020-11-16 10:26:18 -08:00

13 lines
424 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a653e38628..76d6067646 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -142,7 +142,6 @@ else()
endif()
# Add Linker search paths to RPATH so as to fix the problem where some linkers can't find cross-compiled dependent libraries in customer paths when linking executables.
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true)
# build third-party targets
if (BUILD_DEPS)