Fix mis-merging in AddLLVM.cmake, take #2. LINK.EXE's options had been broken. Sorry again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2013-12-29 16:50:15 +00:00
parent e44676d928
commit 9339519ceb

View File

@ -49,7 +49,7 @@ function(add_llvm_symbol_exports target_name export_file)
LINK_FLAGS "${CMAKE_CURRENT_BINARY_DIR}/${native_export_file}")
else()
set_property(TARGET ${target_name} APPEND_STRING PROPERTY
LINK_FLAGS " ${CMAKE_CURRENT_BINARY_DIR}/${native_export_file}")
LINK_FLAGS "/DEF:${CMAKE_CURRENT_BINARY_DIR}/${native_export_file}")
endif()
endif()