aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/samples/CMakeLists.txt
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-24 00:38:41 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-24 00:38:41 +0100
commit06d422d1de5c505366f6a029d8af85548c2b646f (patch)
tree8d37559bff36bcb5237a203b9ac874286fdfe028 /plugins/samples/CMakeLists.txt
parentc6853a55ca911415e6851de27621b7022a665933 (diff)
Fixed Client Session Context by Plugin
Diffstat (limited to 'plugins/samples/CMakeLists.txt')
-rw-r--r--plugins/samples/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/samples/CMakeLists.txt b/plugins/samples/CMakeLists.txt
index aa22cd24..c3c305ca 100644
--- a/plugins/samples/CMakeLists.txt
+++ b/plugins/samples/CMakeLists.txt
@@ -11,3 +11,9 @@ SET_TARGET_PROPERTIES(samplePost-api PROPERTIES PREFIX "")
TARGET_LINK_LIBRARIES(samplePost-api ${link_libraries})
INSTALL(TARGETS samplePost-api
LIBRARY DESTINATION ${plugin_install_dir})
+
+ADD_LIBRARY(clientCtx-api MODULE ClientCtx.c)
+SET_TARGET_PROPERTIES(clientCtx-api PROPERTIES PREFIX "")
+TARGET_LINK_LIBRARIES(clientCtx-api ${link_libraries})
+INSTALL(TARGETS clientCtx-api
+ LIBRARY DESTINATION ${plugin_install_dir})