From 9d197ebdd96834264c4a55751321be7df6735996 Mon Sep 17 00:00:00 2001 From: Oleg Shparber Date: Sat, 4 Jul 2020 17:03:17 -0400 Subject: [PATCH] feat(core): make cpp-httplib use poll() --- src/libs/core/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libs/core/CMakeLists.txt b/src/libs/core/CMakeLists.txt index 31cba24..0d9d9ff 100644 --- a/src/libs/core/CMakeLists.txt +++ b/src/libs/core/CMakeLists.txt @@ -11,6 +11,9 @@ add_library(Core STATIC httplib.h ) +# Configure cpp-httplib. +add_definitions(-DCPPHTTPLIB_USE_POLL) + target_link_libraries(Core Registry Ui) find_package(Qt5 COMPONENTS Network WebEngine Widgets REQUIRED)