Skip to content

[C++] CMAKE_DEBUG_POSTFIX is changed by bundled Apache Thrift #47203

@kou

Description

@kou

Describe the enhancement requested

Apache Thrift specifies CMAKE_DEBUG_POSTFIX=d by default: https://github.com/apache/thrift/blob/458eb327a7a652e554551d66e3db12e483c4fc91/build/cmake/DefinePlatformSpecifc.cmake#L24

If we don't specify CMAKE_DEBUG_POSTFIX explicitly, d is used.

Now, we use FetchContent not ExternalProject for bundled Apache Thrift. The d configuration may be used other places. For example, libarrow.a may be renamed to libarrowd.a.

So we should restore the changed CMAKE_DEBUG_POSTFIX when we build bundled Apache Thrift.

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions