xref: /llvm-project/clang/unittests/DirectoryWatcher/CMakeLists.txt (revision a2d1611b7b78b62b573ab04b09c106933007a4d7)
1if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME STREQUAL Windows)
2
3  set(LLVM_LINK_COMPONENTS
4    Support
5    )
6
7  add_clang_unittest(DirectoryWatcherTests
8    DirectoryWatcherTest.cpp
9    )
10
11  target_link_libraries(DirectoryWatcherTests
12    PRIVATE
13    LLVMTestingSupport
14    clangDirectoryWatcher
15    )
16
17endif()
18