Skip to content

Commit

Permalink
Set dllexport option for protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson authored Nov 20, 2023
1 parent 0ca1e9b commit 309d9ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared/java/javacommon.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ protobuf {
generateProtoTasks {
all().configureEach { task ->
task.builtins {
cpp {}
cpp {
option "dllexport_decl=WPILIB_DLLEXPORT"
}
remove java
}
task.plugins {
Expand Down

0 comments on commit 309d9ef

Please sign in to comment.