From 11785e6a72d43fa899ab115cd1c241f6f0e26fb0 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 29 Aug 2017 18:03:19 +0200 Subject: Fix cmake build Signed-off-by: Ronan Le Martret --- ctl-binding/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ctl-binding') 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 -- cgit 1.2.3-korg