Skip to content

Commit 86b5fc2

Browse files
authored
fix(cmake): update install rules for migrated header paths
Fix cmake install rules after header migration (PR #440). Ensures include/kcenon/container/ headers are properly installed for downstream consumers. Unblocks network_system CI.
1 parent 12a1158 commit 86b5fc2

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,11 @@ set(CONTAINER_SYSTEM_CMAKE_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/container_
566566
#
567567
# The following directories are installed:
568568
# - include/kcenon/container/ (canonical public headers)
569+
# - include/container/ (forwarding headers for #include <container/...> paths)
569570
# - core/ (forwarding headers for backward compatibility)
570571
# - internal/ (internal implementation details)
571572
# - integration/ (integration adapters)
573+
# - messaging/ (domain-specific messaging container)
572574
# =============================================================================
573575
install(FILES
574576
${CMAKE_CURRENT_SOURCE_DIR}/container.h
@@ -594,11 +596,22 @@ install(DIRECTORY
594596
PATTERN "*.hpp"
595597
)
596598

599+
# Forwarding headers under include/container/ (for #include <container/...> paths)
600+
install(DIRECTORY
601+
${CMAKE_CURRENT_SOURCE_DIR}/include/container
602+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
603+
COMPONENT Development
604+
FILES_MATCHING
605+
PATTERN "*.h"
606+
PATTERN "*.hpp"
607+
)
608+
597609
# Backward-compatible forwarding headers and internal implementation
598610
install(DIRECTORY
599611
${CMAKE_CURRENT_SOURCE_DIR}/core
600612
${CMAKE_CURRENT_SOURCE_DIR}/internal
601613
${CMAKE_CURRENT_SOURCE_DIR}/integration
614+
${CMAKE_CURRENT_SOURCE_DIR}/messaging
602615
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
603616
COMPONENT Development
604617
FILES_MATCHING

0 commit comments

Comments
 (0)