summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/QNX.cmake
diff options
context:
space:
mode:
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 5c45ef4..728b9ae 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)