[cmake-commits] king committed QNX.cmake 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 5 09:33:06 EDT 2006


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv28957

Modified Files:
	QNX.cmake 
Log Message:
BUG: QNX GCC does not have -isystem.


Index: QNX.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/QNX.cmake,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- QNX.cmake	18 Sep 2006 13:40:12 -0000	1.3
+++ QNX.cmake	5 Oct 2006 13:33:03 -0000	1.4
@@ -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 "")



More information about the Cmake-commits mailing list