Use libuv >= 1.3.0
This commit is contained in:
parent
386eb57ba7
commit
85d308cec8
@ -48,7 +48,7 @@ endif()
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(CairoFC REQUIRED)
|
||||
|
||||
find_package(LibUV 1.8.0 REQUIRED)
|
||||
find_package(LibUV 1.3.0 REQUIRED)
|
||||
|
||||
if (ENABLE_ALSA)
|
||||
find_package(ALSA REQUIRED)
|
||||
|
@ -253,8 +253,8 @@ void controller::read_events(bool confwatch) {
|
||||
if (confwatch) {
|
||||
eloop->fs_event_handle(
|
||||
m_conf.filepath(), [this](const char* path, uv_fs_event events) { confwatch_handler(path, events); },
|
||||
[this](int status) {
|
||||
m_log.err("libuv error while watching config file for changes: %s", uv_strerror(status));
|
||||
[this](int err) {
|
||||
m_log.err("libuv error while watching config file for changes: %s", uv_strerror(err));
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -4,6 +4,10 @@
|
||||
|
||||
#include "errors.hpp"
|
||||
|
||||
#if !(UV_VERSION_MAJOR == 1 && UV_VERSION_MINOR >= 3)
|
||||
#error "Polybar requires libuv 1.x and at least version 1.3"
|
||||
#endif
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user