Fix include path for Lts/Common/ProjectConfig headers
- Changed include_directories from ${CMAKE_SOURCE_DIR}/Lts to ${CMAKE_SOURCE_DIR}
- This allows #include <Lts/Common/ProjectConfig/project_defines.h> to resolve correctly
- Required for LtsSession and other modules using ProjectConfig headers
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 file changed
+1
-1
@@ -80,7 +80,7 @@ SET(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|||||||
# otherwise and opens namespace DDSGeneric around framework includes, which
|
# otherwise and opens namespace DDSGeneric around framework includes, which
|
||||||
# pulls Qt/std definitions into that namespace and breaks every consumer.
|
# pulls Qt/std definitions into that namespace and breaks every consumer.
|
||||||
# (The qt5 legacy has no include/ tree; Lts/ is the real include root.)
|
# (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_directories(${CMAKE_SOURCE_DIR}/include)
|
||||||
# Include directory for generated export headers
|
# Include directory for generated export headers
|
||||||
include_directories(${CMAKE_BINARY_DIR})
|
include_directories(${CMAKE_BINARY_DIR})
|
||||||
|
|||||||
Reference in new issue
Block a user