mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 09:16:30 -04:00
cmake: set rpath for libraries on linux
(cherry picked from commit ce8be2385b5fee16859a630fca0c98ad290c8e21)
This commit is contained in:
parent
4e8e46135b
commit
813cc73925
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user