diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 23b87c2a616203edb7549a678a02e428343fab52..0837e710daeb293a95758cb89fa40f356eff1ca3 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} )