From ba07058f4e390f507ff8401020d52aa55c9148d5 Mon Sep 17 00:00:00 2001 From: Jesus Armando Anaya Date: Thu, 9 Apr 2026 18:03:02 -0700 Subject: [PATCH] fix(LibCarla/cmake): install ros2/dds/ headers in server cmake for Windows builds ROS2.h unconditionally includes DDSMiddleware.h (added in #9644), but the server cmake header install loop only listed ros2/, missing the ros2/dds/ subdirectory. On Linux this was masked because the ros2 build type installs all headers via cmake/fast_dds/CMakeLists.txt. On Windows, only the server cmake runs, causing a fatal C1083 include error in the UE4 plugin build. --- LibCarla/cmake/server/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibCarla/cmake/server/CMakeLists.txt b/LibCarla/cmake/server/CMakeLists.txt index ee8e2c4edfd..5e03587ba09 100644 --- a/LibCarla/cmake/server/CMakeLists.txt +++ b/LibCarla/cmake/server/CMakeLists.txt @@ -24,7 +24,7 @@ foreach(dir "" "sensor/" "sensor/data/" "sensor/s11n/" "streaming/" "streaming/detail/" "streaming/detail/tcp/" "streaming/low_level/" "multigpu/" - "ros2/") + "ros2/" "ros2/dds/") file(GLOB headers "${libcarla_source_path}/carla/${dir}*.h") install(FILES ${headers} DESTINATION include/carla/${dir})