Swapped libprotoc and libprotobuf

libprotobuf being targed before libprotoc was causing Visual Studio to fail in linking protoc.
pull/5661/head
Michael Matthew Mitchell 6 years ago committed by Adam Cozzette
parent 50342e4812
commit dface63d71
  1. 2
      cmake/protoc.cmake

@ -9,7 +9,7 @@ set(protoc_rc_files
endif()
add_executable(protoc ${protoc_files} ${protoc_rc_files})
target_link_libraries(protoc libprotobuf libprotoc)
target_link_libraries(protoc libprotoc libprotobuf)
add_executable(protobuf::protoc ALIAS protoc)
set_target_properties(protoc PROPERTIES

Loading…
Cancel
Save