Lines 7-15
Link Here
|
7 |
|
7 |
|
8 |
option(QTGSTREAMER_STATIC "Build QtGStreamer as a static library" OFF) |
8 |
option(QTGSTREAMER_STATIC "Build QtGStreamer as a static library" OFF) |
9 |
option(QTGSTREAMER_TESTS "Build QtGStreamer's tests" OFF) |
9 |
option(QTGSTREAMER_TESTS "Build QtGStreamer's tests" OFF) |
10 |
option(QTGSTREAMER_EXAMPLES "Build QtGStreamer's examples" ON) |
10 |
option(QTGSTREAMER_EXAMPLES "Build QtGStreamer's examples" OFF) |
11 |
option(QTGSTREAMER_CODEGEN "Build and use QtGStreamer's codegen" OFF) |
11 |
option(QTGSTREAMER_CODEGEN "Build and use QtGStreamer's codegen" OFF) |
12 |
option(USE_GST_PLUGIN_DIR "Install gstreamer plugins at the system location" ON) |
12 |
option(USE_GST_PLUGIN_DIR "Install gstreamer plugins at the system location" OFF) |
13 |
option(USE_QT_PLUGIN_DIR "Install qt plugins at the system location" ON) |
13 |
option(USE_QT_PLUGIN_DIR "Install qt plugins at the system location" ON) |
14 |
|
14 |
|
15 |
include(MacroLogFeature) |
15 |
include(MacroLogFeature) |
Lines 35-41
Link Here
|
35 |
|
35 |
|
36 |
# this just sets the QTGSTREAMER_* cmake variables |
36 |
# this just sets the QTGSTREAMER_* cmake variables |
37 |
set(BUILDING_QTGSTREAMER TRUE) |
37 |
set(BUILDING_QTGSTREAMER TRUE) |
38 |
find_package(QtGStreamer REQUIRED) |
38 |
find_package(QtGStreamer) |
39 |
|
39 |
|
40 |
if (${CMAKE_VERSION} VERSION_LESS "2.8.6") |
40 |
if (${CMAKE_VERSION} VERSION_LESS "2.8.6") |
41 |
find_package(Automoc4) |
41 |
find_package(Automoc4) |
Lines 54-77
Link Here
|
54 |
endmacro() |
54 |
endmacro() |
55 |
endif() |
55 |
endif() |
56 |
|
56 |
|
57 |
find_package(GStreamer 0.10.33 COMPONENTS base) |
|
|
58 |
macro_log_feature(GSTREAMER_FOUND "GStreamer" "Required to build QtGStreamer" |
59 |
"http://gstreamer.freedesktop.org/" TRUE "0.10.33") |
60 |
macro_log_feature(GSTREAMER_BASE_LIBRARY_FOUND "GStreamer base library" |
61 |
"Used for building the qwidgetvideosink element" |
62 |
"http://gstreamer.freedesktop.org/" FALSE "0.10.33") |
63 |
|
64 |
find_package(GStreamerPluginsBase 0.10.33 COMPONENTS app interfaces video) |
65 |
macro_log_feature(GSTREAMER_APP_LIBRARY_FOUND "GStreamer app library" |
66 |
"Required to build QtGStreamerUtils" |
67 |
"http://gstreamer.freedesktop.org/" TRUE "0.10.33") |
68 |
macro_log_feature(GSTREAMER_INTERFACES_LIBRARY_FOUND "GStreamer interfaces library" |
69 |
"Required to build QtGStreamer" |
70 |
"http://gstreamer.freedesktop.org/" TRUE "0.10.33") |
71 |
macro_log_feature(GSTREAMER_VIDEO_LIBRARY_FOUND "GStreamer video library" |
72 |
"Used for building the qwidgetvideosink element" |
73 |
"http://gstreamer.freedesktop.org/" FALSE "0.10.33") |
74 |
|
75 |
find_package(GLIB2) |
57 |
find_package(GLIB2) |
76 |
macro_log_feature(GLIB2_FOUND "GLib" "Required to build QtGLib" "http://www.gtk.org/" TRUE) |
58 |
macro_log_feature(GLIB2_FOUND "GLib" "Required to build QtGLib" "http://www.gtk.org/" TRUE) |
77 |
|
59 |
|