commit | 3bc0282fb688547de7e4533e865904e3b030d5b2 | [log] [tgz] |
---|---|---|
author | Corentin Le Molgat <corentinl@google.com> | Mon Jan 29 15:11:59 2018 +0100 |
committer | Corentin Le Molgat <corentinl@google.com> | Thu Feb 01 20:31:36 2018 +0100 |
tree | 4421a22db76dd5da6401059657a54dccfef3d82e | |
parent | 4a3b42ed05b6032be0e86d0b16e32224f93dd39d [diff] [blame] |
Add VERSION property to CMake library targets
diff --git a/cmake/libprotoc.cmake b/cmake/libprotoc.cmake index 107c1c5..a85dccd 100644 --- a/cmake/libprotoc.cmake +++ b/cmake/libprotoc.cmake
@@ -225,5 +225,6 @@ endif() set_target_properties(libprotoc PROPERTIES COMPILE_DEFINITIONS LIBPROTOC_EXPORTS + VERSION ${protobuf_VERSION} OUTPUT_NAME ${LIB_PREFIX}protoc DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}")