File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ include(GNUInstallDirs)
1212option (BUILD_GSTREAMER_PLUGIN "Build kvssink GStreamer plugin" OFF )
1313option (BUILD_JNI "Build C++ wrapper for JNI to expose the functionality to Java/Android" OFF )
1414option (BUILD_STATIC "Build with static linkage" OFF )
15+ option (BUILD_GSTREAMER_PLUGIN_STATIC "If building GStreamer plugin, build it as a static library" ${BUILD_STATIC} )
1516option (ADD_MUCLIBC "Add -muclibc c flag" OFF )
1617option (BUILD_DEPENDENCIES "Whether or not to build depending libraries from source" ON )
1718option (BUILD_OPENSSL_PLATFORM "If buildng OpenSSL what is the target platform" OFF )
@@ -214,7 +215,7 @@ if(BUILD_GSTREAMER_PLUGIN)
214215 include_directories (${GST_APP_INCLUDE_DIRS} )
215216 link_directories (${GST_APP_LIBRARY_DIRS} )
216217
217- if (BUILD_STATIC )
218+ if (BUILD_GSTREAMER_PLUGIN_STATIC )
218219 add_library (gstkvssink STATIC ${GST_PLUGIN_SOURCE_FILES} )
219220 else ()
220221 add_library (gstkvssink MODULE ${GST_PLUGIN_SOURCE_FILES} )
Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ Please note that GStreamer is not cross-compiled as a part of the cross-compilat
8282#### CMake Arguments
8383You can pass the following options to ` cmake .. ` .
8484
85- * ` -DBUILD_GSTREAMER_PLUGIN ` -- Build kvssink GStreamer plugin
85+ * ` -DBUILD_GSTREAMER_PLUGIN ` -- Build kvssink GStreamer plugin. Default is OFF.
86+ * ` -DBUILD_STATIC ` -- Build as static libraries. Default is OFF.
87+ * ` -DBUILD_GSTREAMER_PLUGIN_STATIC ` -- If building GStreamer plugin, build it as a static library. Default is BUILD_STATIC.
8688* ` -DBUILD_JNI ` -- Build C++ wrapper for JNI to expose the functionality to Java/Android
8789* ` -DBUILD_DEPENDENCIES ` -- Build depending libraries from source
8890* ` -DBUILD_TEST=TRUE ` -- Build unit/integration tests, may be useful for confirm support for your device. ` ./tst/producerTest `
You can’t perform that action at this time.
0 commit comments