fixed OpenCV build on NetBSD (ticket #726)
This commit is contained in:
@@ -464,7 +464,7 @@ if(UNIX)
|
|||||||
endif()
|
endif()
|
||||||
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)
|
set(OPENCV_LINKER_LIBS m pthread)
|
||||||
else()
|
else()
|
||||||
set(OPENCV_LINKER_LIBS dl m pthread rt)
|
set(OPENCV_LINKER_LIBS dl m pthread rt)
|
||||||
|
Reference in New Issue
Block a user