cmake: define afb-daemon configuration items on target basis
[staging/windowmanager.git] / src / CMakeLists.txt
index 17796be..62bdc9f 100644 (file)
@@ -29,6 +29,9 @@ target_link_libraries(winman
 
 target_compile_definitions(winman
     PRIVATE
+        AFB_BINDING_VERSION=2
+        # We do not want source location of messages
+        AFB_BINDING_PRAGMA_NO_VERBOSE_DETAILS
         WINMAN_VERSION_STRING="${PACKAGE_VERSION}"
         _GNU_SOURCE)  # XXX should I define this here?!