From 0f22b0920b773a3125b2dde6f3bff0d64c7f7742 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 21 Jan 2026 11:51:22 +0000 Subject: [PATCH] cmake: Don't hardcode include directories for installed targets This fixes scenarios where user specifies `CMAKE_INSTALL_INCLUDEDIR`. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e5f4929dc..2436d328df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1479,7 +1479,7 @@ endif() foreach(target ${build_targets}) target_include_directories( ${target} PUBLIC $ - $ $) + $ $) if(ENABLE_DRAFTS) target_compile_definitions(${target} PUBLIC ZMQ_BUILD_DRAFT_API)