mirror of
https://github.com/opencv/opencv.git
synced 2025-07-30 01:06:38 +08:00
fixed OpenCV build on NetBSD (ticket #726)
This commit is contained in:
parent
695aa02e98
commit
b0cc526b0b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user