From aa1b45a469040ff429aa9a453912ac7c22ac6122 Mon Sep 17 00:00:00 2001 From: Nav Date: Wed, 13 Jul 2022 20:38:14 +0100 Subject: [PATCH] Use RUNPATH instead of RPATH for setting preferred dependency paths --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02af523b..9ef4566d 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,7 +115,7 @@ target_compile_options( target_link_options( Bloom - PUBLIC [=[-Wl,--disable-new-dtags]=] #,--verbose + PUBLIC [=[-Wl,-z,origin]=] #,--verbose ) if (${ENABLE_SANITIZERS})