llvm-project/clang/unittests/DirectoryWatcher/CMakeLists.txt

19 lines
310 B
CMake

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()