1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

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
+1 -1
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)