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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nico Weber 2013-12-29 07:43:09 +00:00
parent 748618bee1
commit 827176c80c

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