Skip to content

Commit c6a5223

Browse files
committed
[CMake] Bump missing entry for an added .apinotes file to an error.
It was a warning because I didn't want to break anything when I first added the check, but we've been warning-free for a while now. Let's keep it that way.
1 parent 885ddfb commit c6a5223

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
@@ -42,6 +42,6 @@ foreach(file ${SWIFT_API_NOTES_INPUT_FILES})
4242
get_filename_component(name "${file}" NAME_WE)
4343
list(FIND SWIFT_API_NOTES_INPUTS "${name}" name_index)
4444
if(name_index EQUAL -1)
45-
message(WARNING "Found apinotes for ${name}; please add to CMakeLists.txt")
45+
message(SEND_ERROR "Found apinotes for ${name}; please add to CMakeLists.txt")
4646
endif()
4747
endforeach()

0 commit comments

Comments
 (0)