Skip to content

Commit cd23a76

Browse files
authored
GH-48064: [C++] Set ARROW_BUILD_STATIC=ON when features-flight are enabled on CMake presets (#48065)
### Rationale for this change We require static build when we are building flight. The current preset fails. ### What changes are included in this PR? Set `"ARROW_BUILD_STATIC": "ON",` when using `features-flight` ### Are these changes tested? I've tested locally, the build following our build guidelines does not fail anymore. ### Are there any user-facing changes? No * GitHub Issue: #48064 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent 4077efe commit cd23a76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/CMakePresets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
"inherits": "features-basic",
112112
"hidden": true,
113113
"cacheVariables": {
114+
"ARROW_BUILD_STATIC": "ON",
114115
"ARROW_FLIGHT": "ON"
115116
}
116117
},

0 commit comments

Comments
 (0)