mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
evlib-plugins: set MACOS_RPATH
This commit is contained in:
parent
86409e9f62
commit
186b2ce777
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ macro(create_evlib_plugin PLUGIN_NAME MAIN_SRC PLUGIN_HDR EVLIB)
|
|||
source_group("Sources" FILES ${MAIN_SRC})
|
||||
add_library(websockets-${PLUGIN_NAME} SHARED ${MAIN_SRC} ${PLUGIN_HDR})
|
||||
|
||||
if (APPLE)
|
||||
set_property(TARGET websockets-${PLUGIN_NAME} PROPERTY MACOSX_RPATH YES)
|
||||
endif()
|
||||
|
||||
foreach(libpath ${LWS_DEP_LIB_PATHS})
|
||||
target_link_directories(${TEST_NAME} ${libpath})
|
||||
endforeach()
|
||||
|
|
Loading…
Add table
Reference in a new issue