QCC: Calls Compiler/GNU.cmake macros twice
When using a QNX QCC compiler Modules/Compiler/GNU.cmake is called twice. I think this is because Compiler/GNU.cmake is included twice. Once by QCC-CXX.cmake->QCC.cmake->GNU.cmake and once by QCC-CXX.cmake->GNU-CXX.cmake->GNU.cmake.
The result is that all CMAKE_CXX_FLAGS-<>-INIT vars are set twice. E.g. for release this results in "-O3 -DNDEBUG -O3 -DNDEBUG"
Edited by Matthias Donaubauer