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. @@ -9,27 +9,27 @@ if (PLUGIN_INPUT_UVC)
  14. add_definitions(-DLINUX -D_GNU_SOURCE)
  15. find_library(V4L2_LIB v4l2)
  16. - find_library(JPEG_LIB jpeg)
  17. +# find_library(JPEG_LIB jpeg)
  18. - if (V4L2_LIB)
  19. - add_definitions(-DUSE_LIBV4L2)
  20. - endif (V4L2_LIB)
  21. +# if (V4L2_LIB)
  22. +# add_definitions(-DUSE_LIBV4L2)
  23. +# endif (V4L2_LIB)
  24. - if (NOT JPEG_LIB)
  25. - add_definitions(-DNO_LIBJPEG)
  26. - endif (NOT JPEG_LIB)
  27. +# if (NOT JPEG_LIB)
  28. +# add_definitions(-DNO_LIBJPEG)
  29. +# endif (NOT JPEG_LIB)
  30. MJPG_STREAMER_PLUGIN_COMPILE(input_uvc dynctrl.c
  31. input_uvc.c
  32. jpeg_utils.c
  33. v4l2uvc.c)
  34. - if (V4L2_LIB)
  35. - target_link_libraries(input_uvc ${V4L2_LIB})
  36. - endif (V4L2_LIB)
  37. +# if (V4L2_LIB)
  38. +# target_link_libraries(input_uvc ${V4L2_LIB})
  39. +# endif (V4L2_LIB)
  40. - if (JPEG_LIB)
  41. - target_link_libraries(input_uvc ${JPEG_LIB})
  42. - endif (JPEG_LIB)
  43. +# if (JPEG_LIB)
  44. +# target_link_libraries(input_uvc ${JPEG_LIB})
  45. +# endif (JPEG_LIB)
  46. endif()