Explorar o código

Swapped libprotoc and libprotobuf

libprotobuf being targed before libprotoc was causing Visual Studio to fail in linking protoc.
Michael Matthew Mitchell %!s(int64=6) %!d(string=hai) anos
pai
achega
dface63d71
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cmake/protoc.cmake

+ 1 - 1
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