mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-05 01:35:45 +08:00
fix(xswiftbus): Set correct RUNPATH
This commit is contained in:
@@ -24,6 +24,8 @@ else()
|
||||
set(LIBEVENT_CORE_ABS "${dir}/${LIBEVENT_CORE_ABS}")
|
||||
endif()
|
||||
|
||||
string(REGEX MATCH "libevent_core-2.1.so.[1-9]+" SOMAJOR_VERSION ${LIBEVENT_CORE_ABS})
|
||||
set_target_properties(externals_event PROPERTIES IMPORTED_SONAME ${SOMAJOR_VERSION})
|
||||
set_target_properties(externals_event PROPERTIES IMPORTED_LOCATION ${LIBEVENT_CORE_ABS})
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user