change from mordante to make notifications work...
...in the cmake recipe as fribidi does: if notifications are active (they by default now) check if required stuff is available, warn if things are not there and don't compile support it, compile things in if everything is there
This commit is contained in:
parent
3cd9a85fd8
commit
2bcb81afbc
1 changed files with 6 additions and 2 deletions
|
@ -205,8 +205,12 @@ if(ENABLE_GAME)
|
|||
endif()
|
||||
|
||||
if(ENABLE_NOTIFICATIONS)
|
||||
pkg_check_modules(LIBDBUS REQUIRED dbus-1)
|
||||
add_definitions(-DHAVE_LIBDBUS)
|
||||
pkg_check_modules(LIBDBUS dbus-1)
|
||||
if(LIBDBUS_FOUND)
|
||||
add_definitions(-DHAVE_LIBDBUS)
|
||||
else(LIBDBUS_FOUND)
|
||||
message("Could not find dbus-1, Disabling notification support.")
|
||||
endif(LIBDBUS_FOUND)
|
||||
endif(ENABLE_NOTIFICATIONS)
|
||||
|
||||
endif(ENABLE_GAME)
|
||||
|
|
Loading…
Add table
Reference in a new issue