File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -956,13 +956,13 @@ function(add_swift_fuzzer_host_tool executable)
956
956
target_link_libraries (${executable} PRIVATE "-fsanitize=fuzzer" )
957
957
endfunction ()
958
958
959
- macro (add_swift_tool_symlink name dest component destination )
959
+ macro (add_swift_tool_symlink name dest component install_dir )
960
960
# This is used by llvm_install_symlink to determine where
961
961
# to put the target link
962
962
# we decide to define this "locally" to the macro instead of the
963
963
# main CMakeLists.txt so to align with how we configure installation
964
964
# across our scripts (i.e. granular control for each program in a component)
965
- set (SWIFT_TOOLS_INSTALL_DIR destination )
965
+ set (SWIFT_TOOLS_INSTALL_DIR ${install_dir} )
966
966
llvm_add_tool_symlink (SWIFT ${name} ${dest} ALWAYS_GENERATE )
967
967
llvm_install_symlink (SWIFT ${name} ${dest} ALWAYS_GENERATE COMPONENT ${component} )
968
968
unset (SWIFT_TOOLS_INSTALL_DIR )
You can’t perform that action at this time.
0 commit comments