--- CMakeLists.txt 2014-08-22 13:44:09.000000000 +0000 +++ /usr/src/CMakeLists.txt 2014-08-22 14:07:29.009562586 +0000 @@ -257,6 +257,8 @@ set_target_properties ( gflags${opts}-${type} PROPERTIES COMPILE_DEFINITIONS "${defines}" OUTPUT_NAME "gflags${opts}" + VERSION 2 + SOVERSION 2.1.1 ) if (HAVE_SHLWAPI_H) target_link_libraries (gflags${opts}-${type} shlwapi.lib)