You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.4 KiB

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -49,8 +49,7 @@ set (MJPG_STREAMER_PLUGIN_INSTALL_PATH "
  4. # Global dependencies
  5. #
  6. -find_library(JPEG_LIB jpeg)
  7. -
  8. +#find_library(JPEG_LIB jpeg)
  9. #
  10. # Input plugins
  11. --- a/plugins/input_uvc/CMakeLists.txt
  12. +++ b/plugins/input_uvc/CMakeLists.txt
  13. @@ -8,27 +8,27 @@ if (PLUGIN_INPUT_UVC)
  14. add_definitions(-DLINUX -D_GNU_SOURCE)
  15. - find_library(V4L2_LIB v4l2)
  16. +# find_library(V4L2_LIB v4l2)
  17. - if (V4L2_LIB)
  18. - add_definitions(-DUSE_LIBV4L2)
  19. - endif (V4L2_LIB)
  20. +# if (V4L2_LIB)
  21. +# add_definitions(-DUSE_LIBV4L2)
  22. +# endif (V4L2_LIB)
  23. - if (NOT JPEG_LIB)
  24. - add_definitions(-DNO_LIBJPEG)
  25. - endif (NOT JPEG_LIB)
  26. +# if (NOT JPEG_LIB)
  27. +# add_definitions(-DNO_LIBJPEG)
  28. +# endif (NOT JPEG_LIB)
  29. MJPG_STREAMER_PLUGIN_COMPILE(input_uvc dynctrl.c
  30. input_uvc.c
  31. jpeg_utils.c
  32. v4l2uvc.c)
  33. - if (V4L2_LIB)
  34. - target_link_libraries(input_uvc ${V4L2_LIB})
  35. - endif (V4L2_LIB)
  36. +# if (V4L2_LIB)
  37. +# target_link_libraries(input_uvc ${V4L2_LIB})
  38. +# endif (V4L2_LIB)
  39. - if (JPEG_LIB)
  40. - target_link_libraries(input_uvc ${JPEG_LIB})
  41. - endif (JPEG_LIB)
  42. +# if (JPEG_LIB)
  43. +# target_link_libraries(input_uvc ${JPEG_LIB})
  44. +# endif (JPEG_LIB)
  45. endif()