sbc100 created this revision. Herald added subscribers: cfe-commits, aheejin, mgorny. Herald added a project: clang.
All the other unittests I can find specify LLVMTestingSupport in target_link_libraries not as part of LLVM_LINK_COMPONENTS. I'm how/why this fixes the build issue, but its consistent with other uses. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D62320 Files: clang/unittests/Tooling/CMakeLists.txt Index: clang/unittests/Tooling/CMakeLists.txt =================================================================== --- clang/unittests/Tooling/CMakeLists.txt +++ clang/unittests/Tooling/CMakeLists.txt @@ -1,7 +1,6 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} Support - TestingSupport ) # By default MSVC has a 2^16 limit on the number of sections in an object file, @@ -71,6 +70,7 @@ clangToolingCore clangToolingInclusions clangToolingRefactor + LLVMTestingSupport )
Index: clang/unittests/Tooling/CMakeLists.txt =================================================================== --- clang/unittests/Tooling/CMakeLists.txt +++ clang/unittests/Tooling/CMakeLists.txt @@ -1,7 +1,6 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} Support - TestingSupport ) # By default MSVC has a 2^16 limit on the number of sections in an object file, @@ -71,6 +70,7 @@ clangToolingCore clangToolingInclusions clangToolingRefactor + LLVMTestingSupport )
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits