Skip to content

Commit

Permalink
Create symlinks in target_xaml_sources()
Browse files Browse the repository at this point in the history
  • Loading branch information
res2k committed Dec 20, 2024
1 parent 4135f98 commit 830a7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/target_xaml_sources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function(_maybe_link_into_binary result_path_var path)
if(EXISTS "${path_dst}")
file(REMOVE "${path_dst}")
endif()
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_hardlink "${path_abs}" "${path_rel}"
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${path_abs}" "${path_rel}"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
RESULT_VARIABLE link_res)
if(link_res EQUAL 0)
Expand Down

0 comments on commit 830a7a5

Please sign in to comment.