--- clang/lib/DirectoryWatcher/CMakeLists.txt 2023-08-27 22:55:16.799774629 +0800 +++ clang/lib/DirectoryWatcher/CMakeLists.txt 2023-08-27 23:08:13.369562646 +0800 @@ -6,11 +6,7 @@ set(DIRECTORY_WATCHER_LINK_LIBS "") if(APPLE) - check_include_files("CoreServices/CoreServices.h" HAVE_CORESERVICES) - if(HAVE_CORESERVICES) - list(APPEND DIRECTORY_WATCHER_SOURCES mac/DirectoryWatcher-mac.cpp) - set(DIRECTORY_WATCHER_LINK_LIBS "-framework CoreServices") - endif() + list(APPEND DIRECTORY_WATCHER_SOURCES default/DirectoryWatcher-not-implemented.cpp) elseif(CMAKE_SYSTEM_NAME MATCHES "Linux") check_include_files("sys/inotify.h" HAVE_INOTIFY) if(HAVE_INOTIFY)