Fix compilation with notifications disabled.
In CMake the notifications are enabled by default, switching them to disabled didn't clear the LIBDBUS_FOUND flag properly causing the the compilation to fail due to the #error in src/desktop/dbus_notification.cpp.
This commit is contained in:
parent
e3b17ffe47
commit
5a30942c5e
1 changed files with 3 additions and 1 deletions
|
@ -593,7 +593,9 @@ if(ENABLE_GAME)
|
|||
else(LIBDBUS_FOUND)
|
||||
message("Could not find dbus-1, Disabling notification support.")
|
||||
endif(LIBDBUS_FOUND)
|
||||
endif(ENABLE_NOTIFICATIONS)
|
||||
else()
|
||||
unset(LIBDBUS_FOUND CACHE)
|
||||
endif()
|
||||
|
||||
if(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
find_package( Boost 1.44 REQUIRED COMPONENTS filesystem )
|
||||
|
|
Loading…
Add table
Reference in a new issue