Yet another attempt at getting cmake-clang-i686-mingw32 green.

llvm-svn: 198159
This commit is contained in:
Nico Weber 2013-12-29 07:43:09 +00:00
parent f4ee495310
commit 541ea449cf

View File

@ -44,7 +44,7 @@ function(add_llvm_symbol_exports target_name export_file)
DEPENDS ${export_file}
VERBATIM
COMMENT "Creating export file for ${target_name}")
if(CYGWIN)
if(CYGWIN OR MINGW)
set_property(TARGET ${target_name} APPEND_STRING PROPERTY
LINK_FLAGS "${CMAKE_CURRENT_BINARY_DIR}/symbol.def")
else()