CMake fails to compile for QNX
CMake did not build on QNX at least in version 3.16.2. There was also a blog post about patching cmake to build for QNX https://cristianadam.eu/20181202/a-better-qnx-cmake-toolchain-file/ . A patch like that was applied in commit f9e950d4.
However, meanwhile commit f034b0f6 changed cmake to compile with -std=c++NN
instead of -std=gnu++NN
. As discussed in #20454, this means that CMake no longer compiles for QNX.