Skip to content

Commit

Permalink
cmake: set rpath for libraries on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ygj6 authored and azat committed Jan 24, 2020
1 parent 9adc9f1 commit ce8be23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/AddEventLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ macro(add_event_library LIB_NAME)
"${LIB_NAME}_shared" PROPERTIES
OUTPUT_NAME "${LIB_NAME}-${EVENT_PACKAGE_RELEASE}"
VERSION "${CURRENT_MINUS_AGE}.${EVENT_ABI_LIBVERSION_AGE}.${EVENT_ABI_LIBVERSION_REVISION}"
SOVERSION "${CURRENT_MINUS_AGE}")
SOVERSION "${CURRENT_MINUS_AGE}"
INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
endif()

if (NOT WIN32)
Expand Down

0 comments on commit ce8be23

Please sign in to comment.