summaryrefslogtreecommitdiff
path: root/cmake/modules/AddLLVM.cmake
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-12-29 05:39:01 +0000
committerNico Weber <nicolasweber@gmx.de>2013-12-29 05:39:01 +0000
commit343bda6487cac9ae3d6b15e2140252b32e4ccb9e (patch)
tree2ba7486ac69b2158ba6935bcf54aa3efdcca0805 /cmake/modules/AddLLVM.cmake
parent9ad6e339c3235401eeeed9c3ec982ee1b02901f2 (diff)
downloadllvm-343bda6487cac9ae3d6b15e2140252b32e4ccb9e.tar.gz
llvm-343bda6487cac9ae3d6b15e2140252b32e4ccb9e.tar.bz2
llvm-343bda6487cac9ae3d6b15e2140252b32e4ccb9e.tar.xz
More windows build fix attempts.
The windows ninja build is now green, but msvs is still unhappy. Maybe that's because the .def file was passed when building LTO_static, so only pass symbol lists for shared libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/AddLLVM.cmake')
-rw-r--r--cmake/modules/AddLLVM.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 681bbe899b..6bfed6999d 100644
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -86,10 +86,10 @@ macro(add_llvm_library name)
PROPERTIES
IMPORT_SUFFIX ".imp")
endif ()
- endif()
- if (LLVM_EXPORTED_SYMBOL_FILE)
- add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
+ if (LLVM_EXPORTED_SYMBOL_FILE)
+ add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
+ endif()
endif()
# Ensure that the system libraries always comes last on the