blob: b1f35aab3ff916f12fc09f2e5908b409e89bd23d [file] [log] [blame]
include(CheckIncludeFiles)
set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangDirectoryWatcher
DirectoryWatcher.cpp
)
if(APPLE)
check_include_files("CoreServices/CoreServices.h" HAVE_CORESERVICES_H)
if(HAVE_CORESERVICES_H)
target_link_libraries(clangDirectoryWatcher PRIVATE "-framework CoreServices")
endif()
endif()