diff --git a/CMakeLists.txt b/CMakeLists.txt index 698e1ff504..f313b5585c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,7 @@ message(STATUS "Google Benchmark version: ${VERSION}, normalized to ${NORMALIZED # The version of the libraries set(GENERIC_LIB_VERSION ${NORMALIZED_VERSION}) -string(SUBSTRING ${NORMALIZED_VERSION} 0 1 GENERIC_LIB_SOVERSION) +set(GENERIC_LIB_SOVERSION ${NORMALIZED_VERSION}) # Import our CMake modules include(AddCXXCompilerFlag)