Skip to content

Commit

Permalink
Fix cross-compiling issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Feb 11, 2019
1 parent 0809903 commit ad15aac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/protobuf-module.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,13 @@ _protobuf_find_libraries(Protobuf protobuf)
# The Protobuf Lite library
_protobuf_find_libraries(Protobuf_LITE protobuf-lite)

if(@protobuf_BUILD_PROTOC_BINARIES@)

# The Protobuf Protoc Library
_protobuf_find_libraries(Protobuf_PROTOC protoc)

endif()

if(UNIX)
_protobuf_find_threads()
endif()
Expand Down

0 comments on commit ad15aac

Please sign in to comment.