This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new cd23a76544 GH-48064: [C++] Set ARROW_BUILD_STATIC=ON when
features-flight are enabled on CMake presets (#48065)
cd23a76544 is described below
commit cd23a765442bdbaaef43d0e4b239094fb01e37ae
Author: Raúl Cumplido <[email protected]>
AuthorDate: Fri Nov 7 11:11:07 2025 +0100
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 <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
cpp/CMakePresets.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpp/CMakePresets.json b/cpp/CMakePresets.json
index e1cad83ae3..8c29c9a267 100644
--- a/cpp/CMakePresets.json
+++ b/cpp/CMakePresets.json
@@ -111,6 +111,7 @@
"inherits": "features-basic",
"hidden": true,
"cacheVariables": {
+ "ARROW_BUILD_STATIC": "ON",
"ARROW_FLIGHT": "ON"
}
},