aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 15:20:04 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-14 14:04:51 +0200
commit69a5f240268953b43aa89fdf414589ae3421aefc (patch)
treecb6a0f34e8c1ab86c1f9e56f5d403b650af21964
parentdef0c7482d78db4cf29a407aa329ccbd7bc9ee2d (diff)
client-lib: link against libafbwsc
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--client-lib/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/client-lib/CMakeLists.txt b/client-lib/CMakeLists.txt
index d44c1e6..fcfe19b 100644
--- a/client-lib/CMakeLists.txt
+++ b/client-lib/CMakeLists.txt
@@ -16,7 +16,7 @@
include(FindPkgConfig)
-pkg_check_modules(AFB REQUIRED afb-daemon)
+pkg_check_modules(AFB REQUIRED libafbwsc)
pkg_check_modules(SD REQUIRED libsystemd>=222)
add_library(afbclient SHARED
@@ -29,9 +29,8 @@ target_include_directories(afbclient
${SD_INCLUDE_DIRS})
target_link_libraries(afbclient
- PRIVATE
+ PUBLIC
${AFB_LIBRARIES}
- ${WLC_LIBRARIES}
${SD_LIBRARIES})
target_compile_definitions(afbclient