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

llvm-svn: 198169
This commit is contained in:
NAKAMURA Takumi 2013-12-29 16:50:15 +00:00
parent 39599b4e25
commit 887d8dcdf3

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()