[flang] Fix cmake errors when building the Decimal and runtime libraries standalone
authorJonathon Penix <jpenix@quicinc.com>
Wed, 11 Jan 2023 17:08:13 +0000 (09:08 -0800)
committerJonathon Penix <jpenix@quicinc.com>
Fri, 13 Jan 2023 19:56:11 +0000 (11:56 -0800)
commit7ce775feac15bcb8a7b499bdb5e1c355347a710f
treec4e8a206cdbea0dc2b3b26c0e8c4b685a16f154c
parenteb4aa6c7a5f22583e319aaaae3f6ee73cbc5464a
[flang] Fix cmake errors when building the Decimal and runtime libraries standalone

Currently, cmake gives errors that check_cxx_compiler_flag and append are
unknown when building the Decimal and runtime libraries standalone. Add
the appropriate include to resolve this.

Differential Revision: https://reviews.llvm.org/D141525
flang/lib/Decimal/CMakeLists.txt
flang/runtime/CMakeLists.txt