fixed OpenCV build on NetBSD (ticket #726)

pull/13383/head
Vadim Pisarevsky 14 years ago
parent 695aa02e98
commit b0cc526b0b
  1. 2
      CMakeLists.txt

@ -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…
Cancel
Save