diff --git a/cmake/carla-utils.pc.in b/cmake/carla-utils.pc.in index 197ca4eff..87ca5cba1 100644 --- a/cmake/carla-utils.pc.in +++ b/cmake/carla-utils.pc.in @@ -5,5 +5,5 @@ includedir=@CMAKE_INSTALL_INCLUDEDIR@ Name: carla-utils Version: @PROJECT_VERSION@ Description: Carla Host Utilities -Libs: -L${libdir}/carla -lcarla_utils +Libs: -Wl,-rpath,${libdir}/carla -L${libdir}/carla -lcarla_utils Cflags: -I${includedir}/carla -I${includedir}/carla/includes -I${includedir}/carla/utils