Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make DBUS transparency optional (off by default)
[src/app-framework-binder.git]
/
src
/
CMakeLists.txt
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index
07fcb8b
..
c789fca
100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-26,7
+26,6
@@
ADD_DEFINITIONS(-DINFER_EXTENSION)
ADD_LIBRARY(afb-lib STATIC
afb-api.c
ADD_LIBRARY(afb-lib STATIC
afb-api.c
- afb-api-dbus.c
afb-api-dyn.c
afb-api-so.c
afb-api-so-v1.c
afb-api-dyn.c
afb-api-so.c
afb-api-so-v1.c
@@
-75,6
+74,11
@@
ADD_LIBRARY(afb-lib STATIC
wrap-json.c
)
wrap-json.c
)
+IF(INCLUDE_DBUS_TRANSPARENCY)
+ ADD_DEFINITIONS(-DWITH_DBUS_TRANSPARENCY)
+ TARGET_SOURCES(afb-lib PUBLIC afb-api-dbus.c)
+ENDIF()
+
###########################################
# build and install afb-daemon
###########################################
###########################################
# build and install afb-daemon
###########################################