summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit06473f855d3d4ca243c528882236ecfb9fdaae3a (patch)
tree46db9df78991bca931b038f48dfc0fa316ea05c6 /llvm/cmake/modules/AddLLVM.cmake
parentfdef0e0d941dea19dbfba30df7401dc996192e14 (diff)
downloadbcm5719-llvm-06473f855d3d4ca243c528882236ecfb9fdaae3a.tar.gz
bcm5719-llvm-06473f855d3d4ca243c528882236ecfb9fdaae3a.zip
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. llvm-svn: 198151
Diffstat (limited to 'llvm/cmake/modules/AddLLVM.cmake')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 681bbe899be..6bfed6999d0 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/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
OpenPOWER on IntegriCloud