diff options
-rw-r--r-- | cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 6bfed6999d..404bc38a6a 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -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}) |