summaryrefslogtreecommitdiff
path: root/cmake/modules/FindGStreamer.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindGStreamer.cmake')
-rw-r--r--cmake/modules/FindGStreamer.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindGStreamer.cmake b/cmake/modules/FindGStreamer.cmake
index dab91ac..fe6cde1 100644
--- a/cmake/modules/FindGStreamer.cmake
+++ b/cmake/modules/FindGStreamer.cmake
@@ -36,6 +36,7 @@ if (PKG_CONFIG_FOUND)
exec_program(${PKG_CONFIG_EXECUTABLE}
ARGS --variable pluginsdir gstreamer-${GSTREAMER_ABI_VERSION}
OUTPUT_VARIABLE PKG_GSTREAMER_PLUGIN_DIR)
+ set(GSTREAMER_DEFINITIONS ${PKG_GSTREAMER_CFLAGS})
endif()
find_library(GSTREAMER_LIBRARY