Skip to content

Commit 9d2576c

Browse files
committed
[llvm] make CodeGentests link against static libs
1 parent b8b3fb8 commit 9d2576c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/unittests/CodeGen/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ add_llvm_unittest(CodeGenTests
4848
TestAsmPrinter.cpp
4949
MLRegAllocDevelopmentFeatures.cpp
5050
X86MCInstLowerTest.cpp
51+
52+
DISABLE_LLVM_LINK_LLVM_DYLIB
5153
)
5254

5355
add_subdirectory(GlobalISel)
5456

55-
target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport)
57+
target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupportStatic)

0 commit comments

Comments
 (0)