Merge pull request #20045 from blackliner:master

This commit is contained in:
Alexander Alekhin 2021-05-11 16:57:03 +00:00
commit 776d92e797

View File

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