Commit 45341954 authored by Andreas Schuh's avatar Andreas Schuh

fix: Change SOVERSION to <major>.<minor> for 2.x release versions

parents 5e307067 b90a325e
...@@ -111,7 +111,12 @@ version_numbers ( ...@@ -111,7 +111,12 @@ version_numbers (
if (GFLAGS_SOVERSION) if (GFLAGS_SOVERSION)
set (PACKAGE_SOVERSION "${GFLAGS_SOVERSION}") set (PACKAGE_SOVERSION "${GFLAGS_SOVERSION}")
else () else ()
set (PACKAGE_SOVERSION "${PACKAGE_VERSION_MAJOR}") # TODO: Change default SOVERSION back to PACKAGE_VERSION_MAJOR with the
# next increase of major version number (i.e., 3.0.0 -> SOVERSION 3)
# The <major>.<minor> SOVERSION should be used for the 2.x releases
# versions only which temporarily broke the API by changing the default
# namespace from "google" to "gflags".
set (PACKAGE_SOVERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}")
endif () endif ()
# when gflags is included as subproject (e.g., as Git submodule/subtree) in the source # when gflags is included as subproject (e.g., as Git submodule/subtree) in the source
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment