diff options
author | Corentin Le Molgat <corentinl@google.com> | 2018-01-29 15:11:59 +0100 |
---|---|---|
committer | Corentin Le Molgat <corentinl@google.com> | 2018-02-01 20:31:36 +0100 |
commit | 3bc0282fb688547de7e4533e865904e3b030d5b2 (patch) | |
tree | 4421a22db76dd5da6401059657a54dccfef3d82e /cmake/libprotobuf.cmake | |
parent | 4a3b42ed05b6032be0e86d0b16e32224f93dd39d (diff) | |
download | protobuf-3bc0282fb688547de7e4533e865904e3b030d5b2.tar.gz protobuf-3bc0282fb688547de7e4533e865904e3b030d5b2.tar.bz2 protobuf-3bc0282fb688547de7e4533e865904e3b030d5b2.zip |
Add VERSION property to CMake library targets
Diffstat (limited to 'cmake/libprotobuf.cmake')
-rw-r--r-- | cmake/libprotobuf.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/libprotobuf.cmake b/cmake/libprotobuf.cmake index 72db915b..e07340d2 100644 --- a/cmake/libprotobuf.cmake +++ b/cmake/libprotobuf.cmake @@ -125,5 +125,6 @@ if(MSVC AND protobuf_BUILD_SHARED_LIBS) PRIVATE LIBPROTOBUF_EXPORTS) endif() set_target_properties(libprotobuf PROPERTIES + VERSION ${protobuf_VERSION} OUTPUT_NAME ${LIB_PREFIX}protobuf DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}") |