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++