summaryrefslogtreecommitdiff
path: root/Modules/Platform/QNX.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-10 08:54:42 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-08-10 08:54:42 -0400
commitf9cb0f3cb44635ffaa70ae66eb5a615d90b1a861 (patch)
tree647d8bf1c0e42782ce82068d3eacc04e97d7a5f4 /Modules/Platform/QNX.cmake
parent78667104650e0b97edd2c26fe62672b113909e38 (diff)
downloadcmake-f9cb0f3cb44635ffaa70ae66eb5a615d90b1a861.tar.gz
BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1
Alex
Diffstat (limited to 'Modules/Platform/QNX.cmake')
-rw-r--r--Modules/Platform/QNX.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/QNX.cmake b/Modules/Platform/QNX.cmake
index 5c45ef49f6..728b9ae570 100644
--- a/Modules/Platform/QNX.cmake
+++ b/Modules/Platform/QNX.cmake
@@ -1,7 +1,7 @@
SET(QNXNTO 1)
# GCC is the default compiler on QNX 6.3.
-INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
+INCLUDE(Platform/gcc)
# The QNX GCC does not seem to have -isystem so remove the flag.
SET(CMAKE_INCLUDE_SYSTEM_FLAG_C)
@@ -29,3 +29,5 @@ ENDFOREACH(type)
# force the language to be c++ since qnx only has gcc and not g++ and c++?
SET(CMAKE_CXX_COMPILE_OBJECT
"<CMAKE_CXX_COMPILER> -x c++ <FLAGS> -o <OBJECT> -c <SOURCE>")
+
+INCLUDE(Platform/UnixPaths)