mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
[build] Make Protobuf optional in CMake build (#7061)
This commit is contained in:
@@ -43,5 +43,7 @@ struct WPILIB_DLLEXPORT SwerveModulePosition {
|
||||
};
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/kinematics/proto/SwerveModulePositionProto.h"
|
||||
#endif
|
||||
#include "frc/kinematics/struct/SwerveModulePositionStruct.h"
|
||||
|
||||
Reference in New Issue
Block a user