From ac491c2174a0e39592ff2a104b89c8e9c8cda582 Mon Sep 17 00:00:00 2001 From: Weaselbot Date: Tue, 30 Jun 2026 16:15:18 -0400 Subject: [PATCH] fix weaseljson public header include path weaseljson installs its public header as ${prefix}/include/weaseljson/weaseljson.h and exports INTERFACE_INCLUDE_DIRECTORIES as ${prefix}/include/weaseljson so consumers must include the header as . The previous weaseldb code used , which only worked when a system copy of weaseljson happened to be reachable via the compiler's default include search path (e.g. /usr/include). In CI, where weaseljson is built and installed to a non-system prefix, the build failed with: fatal error: 'weaseljson/weaseljson.h' file not found Use the include path advertised by the weaseljson CMake target. --- src/json_commit_request_parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json_commit_request_parser.hpp b/src/json_commit_request_parser.hpp index 6d28e45..8ddf6f1 100644 --- a/src/json_commit_request_parser.hpp +++ b/src/json_commit_request_parser.hpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include "commit_request_parser.hpp" #include "json_token_enum.hpp"