1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux") set(LLVM_LINK_COMPONENTS Support ) add_clang_unittest(DirectoryWatcherTests DirectoryWatcherTest.cpp ) target_link_libraries(DirectoryWatcherTests PRIVATE LLVMTestingSupport clangDirectoryWatcher clangBasic ) endif()