From 71e2a17fdb6079891c11e8d6d894bfb3ff735a88 Mon Sep 17 00:00:00 2001
From: Florian Berchtold <florian.berchtold@luminartech.com>
Date: Fri, 7 May 2021 15:49:24 +0200
Subject: [PATCH] Update CMakeLists.txt

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b5bc9f8bf..1c0b3628b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -651,6 +651,8 @@ if(UNIX)
       set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m pthread)
     elseif(EMSCRIPTEN)
       # no need to link to system libs with emscripten
+    elseif(QNXNTO)
+      # no need to link to system libs with QNX
     else()
       set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m pthread rt)
     endif()