summaryrefslogtreecommitdiffstats
path: root/ctl-binding
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-29 18:03:19 +0200
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-31 17:48:20 +0200
commit11785e6a72d43fa899ab115cd1c241f6f0e26fb0 (patch)
tree5960d60fe9f310a0d4b4f1b02e98b9325faa29f8 /ctl-binding
parent48c895d828a980eed7695b50449e3e707ad498d6 (diff)
Fix cmake build
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'ctl-binding')
-rw-r--r--ctl-binding/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ctl-binding/CMakeLists.txt b/ctl-binding/CMakeLists.txt
index 9000f25..d62a1e2 100644
--- a/ctl-binding/CMakeLists.txt
+++ b/ctl-binding/CMakeLists.txt
@@ -31,20 +31,20 @@ endif(CONTROL_SUPPORT_LUA)
PROJECT_TARGET_ADD(afb-controller)
# Define project Targets
- ADD_LIBRARY(${TARGET_NAME} MODULE ctl-binding.c ctl-timer.c ctl-dispatch.c ${CTL_LUA_SOURCE})
+ ADD_LIBRARY(${TARGET_NAME} SHARED ctl-binding.c ctl-timer.c ctl-dispatch.c ${CTL_LUA_SOURCE})
SET_OPENAPI_FILENAME("ctl-apidef")
# Binder exposes a unique public entry point
SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
- PREFIX ""
+ PREFIX ""
LABELS "BINDINGV2"
- LINK_FLAGS ${BINDINGS_LINK_FLAG}
+ LINK_FLAGS ${BINDINGS_LINK_FLAG}
OUTPUT_NAME ${TARGET_NAME}
)
TARGET_LINK_LIBRARIES(${TARGET_NAME}
- afb-utilities
- ${link_libraries}
+ afb-utilities
+ ${link_libraries}
)
# Define target includes for this target client