examples/filewatcher-example/CMakeLists.txt
raw| 1 | set(BIN_NAME filewatcher${DTK_VERSION_MAJOR}) |
| 2 | |
| 3 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core) |
| 4 | |
| 5 | add_executable(${BIN_NAME} |
| 6 | main.cpp |
| 7 | ) |
| 8 | |
| 9 | target_link_libraries( |
| 10 | ${BIN_NAME} PRIVATE |
| 11 | Qt${QT_VERSION_MAJOR}::Core |
| 12 | ${LIB_NAME} |
| 13 | ) |
| 14 | |
| 15 | target_include_directories(${BIN_NAME} PUBLIC |
| 16 | ../../include/filesystem/ |
| 17 | ../../include/ |
| 18 | ) |