aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/libprotoc.cmake
diff options
context:
space:
mode:
authorGravatar Ivan Shynkarenka <chronoxor@gmail.com>2018-05-15 23:19:58 +0300
committerGravatar Ivan Shynkarenka <chronoxor@gmail.com>2018-05-15 23:19:58 +0300
commit291d9a0ab0b452537d22a81b551eaea53fd157a8 (patch)
treedbb4be8fb168e15e8375514e7c7253aeae5eec32 /cmake/libprotoc.cmake
parent5932547a6f7d5079a4ea0a2eba83748879bf6375 (diff)
Fix issue with version.rc
Diffstat (limited to 'cmake/libprotoc.cmake')
-rw-r--r--cmake/libprotoc.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/libprotoc.cmake b/cmake/libprotoc.cmake
index 2d8b2322..04701818 100644
--- a/cmake/libprotoc.cmake
+++ b/cmake/libprotoc.cmake
@@ -161,9 +161,11 @@ set(libprotoc_headers
${protobuf_source_dir}/src/google/protobuf/compiler/zip_writer.h
)
+if (MSVC)
set(libprotoc_rc_files
${CMAKE_CURRENT_BINARY_DIR}/version.rc
)
+endif()
set(js_well_known_types_sources
${protobuf_source_dir}/src/google/protobuf/compiler/js/well_known_types/any.js