fixed OpenCV build on NetBSD (ticket #726)

This commit is contained in:
Vadim Pisarevsky 2010-12-04 17:26:15 +00:00
parent 695aa02e98
commit b0cc526b0b

View File

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