patch-CMakeLists_txt 632 B

12345678910111213
  1. $OpenBSD: patch-CMakeLists_txt,v 1.6 2015/11/23 20:34:07 zhuk Exp $
  2. --- CMakeLists.txt.orig Mon Oct 26 08:56:34 2015
  3. +++ CMakeLists.txt Tue Nov 3 01:10:55 2015
  4. @@ -451,7 +451,7 @@ if(UNIX)
  5. CHECK_INCLUDE_FILE(pthread.h HAVE_LIBPTHREAD)
  6. if(ANDROID)
  7. set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m log)
  8. - elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly")
  9. + elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly|OpenBSD")
  10. set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m pthread)
  11. elseif(${CMAKE_SYSTEM_NAME} MATCHES "QNX")
  12. set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m)