add RPATH for compiled tools to find the libddsc.so (#153)

* add RPATH for compiled tools to find the libddsc.so

Signed-off-by: YuSheng <hello@cwyark.me>
This commit is contained in:
YuSheng 2019-04-30 01:09:40 +08:00 committed by eboasson
parent b686ba858c
commit ca35c7afb2
2 changed files with 6 additions and 0 deletions

View file

@ -11,6 +11,7 @@
#
add_executable(pubsub pubsub.c common.c testtype.c porting.c)
target_link_libraries(pubsub ddsc)
if(WIN32)
target_compile_definitions(pubsub PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()