We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4be276b commit 4c766d6Copy full SHA for 4c766d6
1 file changed
toolbox/overlay-triplets/qnx-toolchain.cmake
@@ -56,9 +56,10 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
56
57
# QNX doesn’t use glibc; some ports may need feature tests or POSIX settings.
58
add_compile_definitions(_QNX_SOURCE)
59
+add_compile_definitions(__GNU__)
60
61
# Set fPIC flag
62
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
63
64
# Do not treat include directories from the interfaces of consumed Imported Targets as system directories.
-set(CMAKE_NO_SYSTEM_FROM_IMPORTED ON)
65
+set(CMAKE_NO_SYSTEM_FROM_IMPORTED ON)
0 commit comments