diff options
Diffstat (limited to 'cmake/libprotobuf.cmake')
-rw-r--r-- | cmake/libprotobuf.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/libprotobuf.cmake b/cmake/libprotobuf.cmake index a1fdf7c0..bd570be7 100644 --- a/cmake/libprotobuf.cmake +++ b/cmake/libprotobuf.cmake @@ -112,9 +112,11 @@ set(libprotobuf_includes ${protobuf_source_dir}/src/google/protobuf/wrappers.pb.h ) +if (MSVC) set(libprotobuf_rc_files ${CMAKE_CURRENT_BINARY_DIR}/version.rc ) +endif() add_library(libprotobuf ${protobuf_SHARED_OR_STATIC} ${libprotobuf_lite_files} ${libprotobuf_files} ${libprotobuf_includes} ${libprotobuf_rc_files}) |