X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=0214c123fe4050ceedf151064853e3f7273f43a4;hb=f551ac4966543b360e3458a61615626d71f55a6e;hp=782e154c607ea417499001d19d450572b82df001;hpb=ecb483c282d48a6236c2aafd3beaa355e5a75e73;p=src%2Fapp-framework-main.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 782e154..0214c12 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -61,7 +61,7 @@ add_compile_options(${libsystemd_CFLAGS}) include_directories(${libsystemd_INCLUDE_DIRS}) link_libraries(${libsystemd_LIBRARIES}) -pkg_check_modules(AFB REQUIRED afb-daemon>=4.0) +pkg_check_modules(AFB REQUIRED afb-daemon>=4.99 libafbwsc>=4.99) ########################################################################### @@ -155,7 +155,7 @@ MESSAGE(STATUS "Creating daemons") add_library(jbus STATIC utils-jbus.c) add_executable(afm-user-daemon afm-user-daemon.c) -target_link_libraries(afm-user-daemon afm secwrp wgt utils jbus) +target_link_libraries(afm-user-daemon jbus utils afbwsc) install(TARGETS afm-user-daemon DESTINATION ${CMAKE_INSTALL_BINDIR}) add_executable(afm-system-daemon afm-system-daemon.c)