mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-08 09:43:20 +00:00
[cmake] Quote the path to the target exports file, fixes PR23313
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235519 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f1f6571cc
commit
1606ccad09
@ -108,7 +108,7 @@ function(add_llvm_symbol_exports target_name export_file)
|
||||
COMMENT "Creating export file for ${target_name}")
|
||||
set(export_file_linker_flag "${CMAKE_CURRENT_BINARY_DIR}/${native_export_file}")
|
||||
if(MSVC)
|
||||
set(export_file_linker_flag "/DEF:${export_file_linker_flag}")
|
||||
set(export_file_linker_flag "/DEF:\"${export_file_linker_flag}\"")
|
||||
endif()
|
||||
set_property(TARGET ${target_name} APPEND_STRING PROPERTY
|
||||
LINK_FLAGS " ${export_file_linker_flag}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user