commit | bad064f705ec9fc72efac2d13a1fc3fac6d3d137 | [log] [tgz] |
---|---|---|
author | Vyas Ramasubramani <vyasr@nvidia.com> | Thu Aug 22 14:08:26 2024 -0700 |
committer | GitHub <noreply@github.com> | Fri Aug 23 06:08:26 2024 +0900 |
tree | ba8309feefccbfa0e0b6913be2344c6930ca49b8 | |
parent | 82ecf3e6ed8cb58a08d600041617ce85c9bdb7c1 [diff] |
MINOR: [C++] Ensure setting the default CMAKE_BUILD_TYPE (#43794) ### Rationale for this change The current logic for detecting whether the `CMAKE_BUILD_TYPE` is set is incorrect. That variable is never fully undefined; by default, in cases where it is unset is actually set to the empty string. Therefore, the condition that must be checked is not whether the variable is defined, but whether it tests to a truthy value (i.e. is a non-empty string). I consider this a minor change so I have not opened an associated issue. ### What changes are included in this PR? This PR changes `if(NOT DEFINED CMAKE_BUILD_TYPE)` to `if(NOT CMAKE_BUILD_TYPE)`. ### Are these changes tested? Since this fixes a particular CMake build scenario I am not sure if a test is merited, or where one would be added. ### Are there any user-facing changes? No. Authored-by: Vyas Ramasubramani <vyasr@nvidia.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Apache Arrow is a development platform for in-memory analytics. It contains a set of technologies that enable big data systems to process and move data fast.
Major components of the project include:
Arrow is an Apache Software Foundation project. Learn more at arrow.apache.org.
The reference Arrow libraries contain many distinct software components:
The official Arrow libraries in this repository are in different stages of implementing the Arrow format and related features. See our current feature matrix on git main.
Please read our latest project contribution guide.
Even if you do not plan to contribute to Apache Arrow itself or Arrow integrations in other projects, we'd be happy to have you involved: