From 6cc19e138d57dff460cc3be5f82de0142c080cbe Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Fri, 9 Oct 2026 15:09:50 +0000 Subject: [PATCH] Fix include path for Lts/Common/ProjectConfig headers - Changed include_directories from ${CMAKE_SOURCE_DIR}/Lts to ${CMAKE_SOURCE_DIR} - This allows #include to resolve correctly - Required for LtsSession and other modules using ProjectConfig headers Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- qt6-after/qt6-migrated-legatus/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt6-after/qt6-migrated-legatus/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/CMakeLists.txt index 0b07f90cb..c1897bd0a 100755 --- a/qt6-after/qt6-migrated-legatus/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/CMakeLists.txt @@ -80,7 +80,7 @@ SET(CMAKE_INCLUDE_CURRENT_DIR ON) # otherwise and opens namespace DDSGeneric around framework includes, which # pulls Qt/std definitions into that namespace and breaks every consumer. # (The qt5 legacy has no include/ tree; Lts/ is the real include root.) -include_directories(BEFORE ${CMAKE_SOURCE_DIR}/Lts) +include_directories(BEFORE ${CMAKE_SOURCE_DIR}) include_directories(${CMAKE_SOURCE_DIR}/include) # Include directory for generated export headers include_directories(${CMAKE_BINARY_DIR})