From 7f6f21ebaec41354c20b241483adc45def794db4 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Sat, 15 Nov 2008 22:51:03 +0000 Subject: CMake: Forces linking of the rest of architecture targets and its respective asm printers on MSVC. Based on a patch by Scott Graham. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59379 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 05c5895796..6ef79b91de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,10 @@ set(LLVM_ALL_TARGETS XCore ) +# List of targets whose asmprinters need to be forced to link +# into executables on some platforms (i.e. Windows): +set(LLVM_ASMPRINTERS_FORCE_LINK X86 PowerPC) + if( MSVC ) set(LLVM_TARGETS_TO_BUILD X86 CACHE STRING "Semicolon-separated list of targets to build, or \"all\".") -- cgit v1.2.3