summaryrefslogtreecommitdiffstats
path: root/ctl-binding/CMakeLists.txt
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-29 18:03:19 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:25 +0100
commit1f9fe3828ac372d2e5310e51730e5facec16ee5e (patch)
tree5960d60fe9f310a0d4b4f1b02e98b9325faa29f8 /ctl-binding/CMakeLists.txt
parent2e7d03b3de4eb29f07cf7f467280e3a47fd1612b (diff)
Fix cmake build
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'ctl-binding/CMakeLists.txt')
-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