X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=blobdiff_plain;f=src%2FCMakeLists.txt;h=b112d554f88d8fe13d953688d5f231d2702266b0;hp=2346db08e5ed88184082b2f02dd2246ef6949c8d;hb=828efa11e73a26c8f9669bc9d2502d68bd27a785;hpb=5b801a3e7b0465f88b785a155dd430ba09c56568 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2346db0..b112d55 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -170,9 +170,11 @@ if(libsystemd_FOUND AND AFB_FOUND) add_library(jbus STATIC utils-jbus.c) - add_executable(afm-user-daemon afm-user-daemon.c) - target_link_libraries(afm-user-daemon jbus utils) - install(TARGETS afm-user-daemon DESTINATION ${CMAKE_INSTALL_BINDIR}) + if(LEGACY_USER_DAEMON) + add_executable(afm-user-daemon afm-user-daemon.c) + target_link_libraries(afm-user-daemon jbus utils) + install(TARGETS afm-user-daemon DESTINATION ${CMAKE_INSTALL_BINDIR}) + endif() add_library(afm-binding MODULE afm-binding.c) target_link_libraries(afm-binding wgtpkg wgt secwrp utils afm)