Fix build of Lex unit test with CLANG_DYLIB
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Mon, 12 Sep 2022 11:45:17 +0000 (13:45 +0200)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Mon, 12 Sep 2022 11:49:57 +0000 (13:49 +0200)
commitf0403c853bc93fe1127fef7493a4feff1479191e
treee0bb0781963f9f35cfe9c8934b190adae304f081
parentd635695cf80b3c4d2f5439d082fafcaa4f2a3fef
Fix build of Lex unit test with CLANG_DYLIB

If CLANG_LINK_CLANG_DYLIB, clang_target_link_libraries ignores all
indivial libraries and only links clang-cpp. As LLVMTestingSupport
is separate, pass it via target_link_libraries directly.
clang/unittests/Lex/CMakeLists.txt