summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-21 07:59:23 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-10-25 05:00:38 (GMT)
commit02cf77f7122bfc1c815fa27d42302cd90d028650 (patch)
tree2c5fdd2676b42251487a74603671b67f554d7034 /Modules/Platform
parentfd818b2ff497dbe382684f59eb626956e6e79aaa (diff)
downloadCMake-02cf77f7122bfc1c815fa27d42302cd90d028650.zip
CMake-02cf77f7122bfc1c815fa27d42302cd90d028650.tar.gz
CMake-02cf77f7122bfc1c815fa27d42302cd90d028650.tar.bz2
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.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/QNX.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/QNX.cmake b/Modules/Platform/QNX.cmake
index 2598411..068799f 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 "")