Advertisement
Guest User

Untitled

a guest
Sep 18th, 2020
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. set(GSTREAMER_FOUND FALSE)
  2.  
  3. if (WIN32)
  4.  
  5. set(GSTREAMER_DIR $ENV{GSTREAMER_1_0_ROOT_MSVC_X86_64})
  6.  
  7. if (EXISTS ${GSTREAMER_DIR}/include/gstreamer-1.0/gst/gst.h)
  8. set(GSTREAMER_FOUND TRUE)
  9. set(GSTREAMER_VERSION_STRING 1.0 CACHE STRING "")
  10. set(GSTREAMER_INCLUDE_DIRS
  11. ${GSTREAMER_DIR}/include/gstreamer-1.0/
  12. ${GSTREAMER_DIR}/include/glib-2.0/
  13. ${GSTREAMER_DIR}/lib/glib-2.0/include/
  14. ${GSTREAMER_DIR}/lib/gstreamer-1.0/include/
  15. ${GSTREAMER_DIR}/include/libxml2/
  16. CACHE STRING ""
  17. )
  18.  
  19. file(GLOB gst_lib_files ${GSTREAMER_DIR}/lib/*.lib)
  20. set(GSTREAMER_LIBRARIES ${gst_lib_files} CACHE STRING "")
  21.  
  22. mark_as_advanced(GSTREAMER_INCLUDE_DIRS GSTREAMER_LIBRARIES)
  23.  
  24. endif()
  25.  
  26. endif()
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement