kou opened a new issue, #14906:
URL: https://github.com/apache/arrow/issues/14906
### Describe the enhancement requested
For example, `ARROW_WITH_ZLIB`, `ARROW_WITH_ZSTD` and so on.
In general, we should not use `add_definitions()` in modern CMake because
its scope is directory. Directory scope may introduce implicit unexpected
definitions. We should use CMake target or something instead.
If we use `cpp/src/arrow/util/config.h.cmake`, Apache Arrow C++ users can
also use `ARROW_WITH_${COMPRESSION}`.
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]