--- OpenSceneGraph-3.5.1/CMakeLists.txt.orig 2015-11-09 18:52:06.000000000 +0300 | |
+++ OpenSceneGraph-3.5.1/CMakeLists.txt 2015-11-11 14:14:03.911230800 +0300 | |
@@ -668,6 +668,9 @@ | |
FIND_PACKAGE(OurDCMTK) | |
FIND_PACKAGE(FFmpeg) | |
FIND_PACKAGE(GStreamer COMPONENTS app pbutils) | |
+ IF(GStreamer_FOUND) | |
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GStreamer_CFLAGS}") | |
+ ENDIF() | |
FIND_PACKAGE(GLIB COMPONENTS gobject) | |
FIND_PACKAGE(DirectShow) | |
FIND_PACKAGE(SDL2) |