QNX: Don't attempt to create depfiles

The qcc driver can not handle the flags. This makes it possible to use
qcc with the Ninja generator.
This commit is contained in:
Stephen Kelly 2013-10-21 09:59:23 +02:00
parent fd818b2ff4
commit 02cf77f712
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ set(QNXNTO 1)
# The QNX GCC does not seem to have -isystem so remove the flag.
set(CMAKE_INCLUDE_SYSTEM_FLAG_C)
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX)
# ... Nor does the driver support appropriate flags to create depfiles.
set(CMAKE_DEPFILE_FLAGS_C)
set(CMAKE_DEPFILE_FLAGS_CXX)
set(CMAKE_DL_LIBS "")
set(CMAKE_SHARED_LIBRARY_C_FLAGS "")