Merge pull request #5582 from sizeofvoid:master
This commit is contained in:
commit
7323823b38
@ -492,7 +492,7 @@ if(UNIX)
|
|||||||
CHECK_INCLUDE_FILE(pthread.h HAVE_LIBPTHREAD)
|
CHECK_INCLUDE_FILE(pthread.h HAVE_LIBPTHREAD)
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m log)
|
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m log)
|
||||||
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly")
|
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly|OpenBSD")
|
||||||
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m pthread)
|
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m pthread)
|
||||||
elseif(EMSCRIPTEN)
|
elseif(EMSCRIPTEN)
|
||||||
# no need to link to system libs with emscripten
|
# no need to link to system libs with emscripten
|
||||||
|
Loading…
Reference in New Issue
Block a user