afm-udb: remove comments and join lines of unit files
[src/app-framework-main.git] / src / CMakeLists.txt
index 903a7de..cd3b9aa 100644 (file)
@@ -126,11 +126,8 @@ 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
        )
 
 ###########################################################################
@@ -171,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")
                ###############################################################