From 02cf77f7122bfc1c815fa27d42302cd90d028650 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 21 Oct 2013 09:59:23 +0200 Subject: [PATCH] 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. --- Modules/Platform/QNX.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/Platform/QNX.cmake b/Modules/Platform/QNX.cmake index 2598411cd..068799f91 100644 --- a/Modules/Platform/QNX.cmake +++ b/Modules/Platform/QNX.cmake @@ -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 "")