Fix build when LLVM_BUILTIN_TARGETS is not set
authorYi Kong <yikong@google.com>
Tue, 10 Jan 2023 05:56:03 +0000 (14:56 +0900)
committerYi Kong <yikong@google.com>
Tue, 10 Jan 2023 05:56:03 +0000 (14:56 +0900)
commite37cb6390c892b88efc511bc616e34f88443a133
treed9359c5fec70955abf22b1c01f691a1eee8e6afc
parenteded23dfdaf050793b70351d5f42400016d57c15
Fix build when LLVM_BUILTIN_TARGETS is not set

If LLVM_BUILTIN_TARGETS is not set, no OS specific variants will be
created, causing CMake build failure. Depend on the generic builtins
target if LLVM_BUILTIN_TARGETS is not set.

Differential Revision: https://reviews.llvm.org/D141273
llvm/runtimes/CMakeLists.txt