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-lite.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-lite.cmake')
-rw-r--r-- | cmake/libprotobuf-lite.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/libprotobuf-lite.cmake b/cmake/libprotobuf-lite.cmake index f5242d4f..423b6c17 100644 --- a/cmake/libprotobuf-lite.cmake +++ b/cmake/libprotobuf-lite.cmake @@ -62,5 +62,6 @@ if(MSVC AND protobuf_BUILD_SHARED_LIBS) PRIVATE LIBPROTOBUF_EXPORTS) endif() set_target_properties(libprotobuf-lite PROPERTIES + VERSION ${protobuf_VERSION} OUTPUT_NAME ${LIB_PREFIX}protobuf-lite DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}") |