JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

CMake: Set RPATH on installed executables #483

Closed hansenjo closed 2 years ago

hansenjo commented 2 years ago

Add missing CMake command to enable RPATH on installed executables, like Podd does. RPATH makes it unnecessary to set LD_LIBRARY_PATH in most cases.

This feature can be disabled with CMake option -DPODD_SET_RPATH=OFF.