We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73cce97 commit 65cd1acCopy full SHA for 65cd1ac
CMakeLists.txt
@@ -1600,6 +1600,14 @@ foreach(file ${SWIFT_API_NOTES_INPUT_FILES})
1600
list(APPEND SWIFT_API_NOTES_INPUTS ${name})
1601
endforeach()
1602
1603
+if(EXISTS "${SWIFT_API_NOTES_PATH}/.git/HEAD")
1604
+ # Trigger updates if the apinotes repository version changes.
1605
+ configure_file(
1606
+ "${SWIFT_API_NOTES_PATH}/.git/HEAD"
1607
+ "${CMAKE_BINARY_DIR}/apinotes-version.check_cache"
1608
+ @ONLY)
1609
+endif()
1610
+
1611
# Add all of the subdirectories, where we actually do work.
1612
if (SWIFT_BUILD_TOOLS)
1613
add_subdirectory(include)
0 commit comments