From 2d6580e0cb359349fc60d9ebaac402ff547bb748 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Fri, 12 Aug 2022 12:19:59 +0200
Subject: [PATCH] Examples: enable DD4hep standard rpath treatment

---
 examples/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 23b87c2a6..0837e710d 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -27,6 +27,7 @@ project( DD4hep_Examples )
 
 include(CTest)
 option(BUILD_TESTING "Enable and build tests" ON)
+option(DD4HEP_SET_RPATH "Link libraries with built-in RPATH (run-time search path)" ON)
 
 SET( ENV{DD4hepExamplesINSTALL} ${CMAKE_INSTALL_PREFIX} )
 
-- 
GitLab