Commit b0cc526b authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed OpenCV build on NetBSD (ticket #726)

parent 695aa02e
......@@ -464,7 +464,7 @@ if(UNIX)
endif()
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
set(OPENCV_LINKER_LIBS m pthread)
else()
set(OPENCV_LINKER_LIBS dl m pthread rt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment