Skip to content

Commit 4be276b

Browse files
committed
Do not treat include directories from the interfaces of consumed Imported Targets as system directories.
1 parent f3b31ae commit 4be276b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

toolbox/overlay-triplets/qnx-toolchain.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
5858
add_compile_definitions(_QNX_SOURCE)
5959

6060
# Set fPIC flag
61-
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
61+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
62+
63+
# Do not treat include directories from the interfaces of consumed Imported Targets as system directories.
64+
set(CMAKE_NO_SYSTEM_FROM_IMPORTED ON)

0 commit comments

Comments
 (0)