From d312d8a5a49efa3ec4f22fd2e0e8c70f73414020 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 17 Oct 2023 16:13:07 -0400 Subject: [PATCH] build: fix for header-only callback dep --- include/xo/webutil/StreamEndpointDescr.hpp | 2 +- src/webutil/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/xo/webutil/StreamEndpointDescr.hpp b/include/xo/webutil/StreamEndpointDescr.hpp index 78053008..53aa63c7 100644 --- a/include/xo/webutil/StreamEndpointDescr.hpp +++ b/include/xo/webutil/StreamEndpointDescr.hpp @@ -6,8 +6,8 @@ #pragma once #include "Alist.hpp" -#include "xo/callback/CallbackSet.hpp" #include "xo/refcnt/Refcounted.hpp" +#include "xo/callback/CallbackSet.hpp" #include namespace xo { diff --git a/src/webutil/CMakeLists.txt b/src/webutil/CMakeLists.txt index 57f96726..7d9f5665 100644 --- a/src/webutil/CMakeLists.txt +++ b/src/webutil/CMakeLists.txt @@ -9,6 +9,7 @@ xo_add_shared_library(${SELF_LIB} ${PROJECT_VERSION} 1 ${SELF_SRCS}) # ---------------------------------------------------------------- # external dependencies +xo_dependency(${SELF_LIB} refcnt) xo_dependency(${SELF_LIB} callback) # end CMakeLists.txt