Another windows build fix attempt.

Inspired by http://public.kitware.com/pipermail/cmake-developers/2012-March/003768.html

llvm-svn: 198153
This commit is contained in:
Nico Weber 2013-12-29 06:12:40 +00:00
parent 0324ee0a33
commit 1946f3a01b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ function(add_llvm_symbol_exports target_name export_file)
VERBATIM
COMMENT "Creating export file for ${target_name}")
set_property(TARGET ${target_name} APPEND_STRING PROPERTY
LINK_FLAGS " ${CMAKE_CURRENT_BINARY_DIR}/symbol.def")
LINK_FLAGS "/DEF:${CMAKE_CURRENT_BINARY_DIR}/symbol.def")
endif()
add_custom_target(${target_name}_exports DEPENDS ${native_export_file})