client-lib: link against libafbwsc
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 12 Sep 2017 13:20:04 +0000 (15:20 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Thu, 14 Sep 2017 12:04:51 +0000 (14:04 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
client-lib/CMakeLists.txt

index d44c1e6..fcfe19b 100644 (file)
@@ -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