Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Remove find_dependency(Protobuf) line from wpiutil
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul committed Jun 21, 2024
1 parent f8ce53e commit a0e32a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/allwpilib_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def fix(lines):
lines = [
line
for line in lines
if not re.search(r"find_dependency(Protobuf)", line)
if not re.search(r"find_package(Protobuf REQUIRED)", line)
and "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/protobuf>" not in line
and not re.search(r"#include \"\w+\.pb\.h\"", line)
Expand Down

0 comments on commit a0e32a0

Please sign in to comment.