diff --git a/CMakeLists.txt b/CMakeLists.txt index acc5c683f7..3a8d1304e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -656,6 +656,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()