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()