Skip to content

Commit 516b104

Browse files
authored
Merge pull request #24528 from Rostepher/always-copy-apinotes-5.1
[Build System: CMake] Always copy the apinotes into the build directory when the apinotes directory is included via SWIFT_INCLUDE_APINOTES (5.1 branch).
2 parents 6f1e632 + 0f4e01e commit 516b104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apinotes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ add_custom_command(
2323
COMMAND
2424
"${CMAKE_COMMAND}" "-E" "copy_if_different" ${inputs} "${output_dir}/")
2525

26-
add_custom_target("copy_apinotes"
26+
add_custom_target("copy_apinotes" ALL
2727
DEPENDS "${outputs}" "${output_dir}"
2828
COMMENT "Copying API notes to ${output_dir}"
2929
SOURCES "${sources}")

0 commit comments

Comments
 (0)