Start user units at the system level
[src/app-framework-main.git] / src / CMakeLists.txt
index bbcf04b..cd3b9aa 100644 (file)
@@ -126,11 +126,7 @@ add_library(secwrp STATIC
        )
 
 add_library(afm STATIC
-       afm-db.c
        afm-udb.c
-       afm-launch.c
-       afm-launch-mode.c
-       afm-run.c
        afm-urun.c
        )
 
@@ -172,7 +168,7 @@ if(libsystemd_FOUND)
        ###########################################################################
        # the binding for afb
 
-       pkg_check_modules(AFB afb-daemon)
+       pkg_check_modules(AFB afb-daemon>=4.0)
        if(AFB_FOUND)
                message(STATUS "Creation afm-main-binding for AFB-DAEMON")
                ###############################################################