summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-05 13:33:03 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-05 13:33:03 (GMT)
commite1799a5f88179d686216797fb3bda0c047948085 (patch)
tree3588034b0d7ff5a4ad075371bd13d435bbaae0aa /Modules
parentc11cf31c9b70b21ba171bb2682ea5304e8d00de8 (diff)
downloadCMake-e1799a5f88179d686216797fb3bda0c047948085.zip
CMake-e1799a5f88179d686216797fb3bda0c047948085.tar.gz
CMake-e1799a5f88179d686216797fb3bda0c047948085.tar.bz2
BUG: QNX GCC does not have -isystem.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/QNX.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/QNX.cmake b/Modules/Platform/QNX.cmake
index 53b0080..e85b571 100644
--- a/Modules/Platform/QNX.cmake
+++ b/Modules/Platform/QNX.cmake
@@ -1,6 +1,10 @@
# GCC is the default compiler on QNX 6.3.
INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
+# 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)
+
SET(CMAKE_DL_LIBS "")
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "")