@@ -12,7 +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_FORCE_GSTREAMER_PLUGIN_SHARED "If building with static linkage, build the kvssink GStreamer plugin as a shared library" OFF )
15+ option (BUILD_FORCE_KVSSINK_SHARED "If building with static linkage, build the kvssink GStreamer plugin as a shared library" OFF )
1616option (ADD_MUCLIBC "Add -muclibc c flag" OFF )
1717option (BUILD_DEPENDENCIES "Whether or not to build depending libraries from source" ON )
1818option (BUILD_OPENSSL_PLATFORM "If buildng OpenSSL what is the target platform" OFF )
@@ -59,7 +59,7 @@ add_definitions(-DCMAKE_DETECTED_CACERT_PATH)
5959
6060# Instruct Producer C to build Curl with Position Independent Code (-fpic).
6161# This is to allow a static Curl build to link with to a shared Producer Cpp build.
62- if (BUILD_STATIC AND BUILD_FORCE_GSTREAMER_PLUGIN_SHARED )
62+ if (BUILD_STATIC AND BUILD_FORCE_KVSSINK_SHARED )
6363 set (CURL_POSITION_INDEPENDENT_CODE TRUE )
6464endif ()
6565
@@ -220,7 +220,7 @@ if(BUILD_GSTREAMER_PLUGIN)
220220 include_directories (${GST_APP_INCLUDE_DIRS} )
221221 link_directories (${GST_APP_LIBRARY_DIRS} )
222222
223- if (BUILD_STATIC AND (NOT BUILD_FORCE_GSTREAMER_PLUGIN_SHARED ))
223+ if (BUILD_STATIC AND (NOT BUILD_FORCE_KVSSINK_SHARED ))
224224 add_library (gstkvssink STATIC ${GST_PLUGIN_SOURCE_FILES} )
225225 else ()
226226 add_library (gstkvssink MODULE ${GST_PLUGIN_SOURCE_FILES} )
0 commit comments