Fix an issue where libEvent is not available
Ensure compilation with DBus but without libEvent still works
This commit is contained in:
parent
d47442a8b2
commit
5ef5ff1b37
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,8 @@ function (setup_fgfs_library_includes target)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ENABLE_SWIFT)
|
if (ENABLE_SWIFT)
|
||||||
|
_apply_all_target_includes(${target} ${dbus_target} ${libEvent_target})
|
||||||
|
elseif(HAVE_DBUS)
|
||||||
_apply_all_target_includes(${target} ${dbus_target})
|
_apply_all_target_includes(${target} ${dbus_target})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue