Skip to content

Commit

Permalink
Merge pull request swiftlang#24527 from Rostepher/always-copy-apinotes
Browse files Browse the repository at this point in the history
[Build System: CMake] Always copy the apinotes into the build directory when the apinotes directory is included via SWIFT_INCLUDE_APINOTES.
  • Loading branch information
Rostepher authored May 6, 2019
2 parents 6cd476b + 83932c5 commit c98f88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apinotes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ add_custom_command(
COMMAND
"${CMAKE_COMMAND}" "-E" "copy_if_different" ${inputs} "${output_dir}/")

add_custom_target("copy_apinotes"
add_custom_target("copy_apinotes" ALL
DEPENDS "${outputs}" "${output_dir}"
COMMENT "Copying API notes to ${output_dir}"
SOURCES "${sources}")
Expand Down

0 comments on commit c98f88e

Please sign in to comment.